projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b97fe66
)
Repair exit-popup deadlock patch
author
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 6 Aug 2010 09:18:34 +0000 (11:18 +0200)
committer
Arun Persaud
<arun@nubati.net>
Sat, 7 Aug 2010 04:45:32 +0000 (21:45 -0700)
Relocating the exit popup call had made it lose access to the message it
should print, because it was declared only in an inner code block, by
the same name: buf[]. Deleting the inner declaration fixes it.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
b1da687
..
d4549bf
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-9320,7
+9320,6
@@
GameEnds(result, resultDetails, whosays)
endingGame = 0; /* [HGM] crash */
return;
} else {
- char buf[MSG_SIZ];
gameMode = nextGameMode;
sprintf(buf, _("Match %s vs. %s: final score %d-%d-%d"),
first.tidy, second.tidy,