projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
91ffed0
)
Fix crash XBoard on changing Game List Tags
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Wed, 4 Mar 2015 08:09:28 +0000 (09:09 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Thu, 7 May 2015 18:53:33 +0000 (20:53 +0200)
When the Game List was not up, the attempt to immediately update its
contents after changing the game-header format through the Game List Tags
dialog would result in a segfault.
ngamelist.c
patch
|
blob
|
history
diff --git
a/ngamelist.c
b/ngamelist.c
index
d202ad6
..
53df236
100644
(file)
--- a/
ngamelist.c
+++ b/
ngamelist.c
@@
-223,6
+223,7
@@
GameListReplace (int page)
void
GameListUpdate ()
{
+ if(!DialogExists(GameListDlg)) return;
GameListPrepare(False, False);
GameListReplace(0);
}