From: H.G.Muller Date: Wed, 4 Mar 2015 08:09:28 +0000 (+0100) Subject: Fix crash XBoard on changing Game List Tags X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=feb2178fcad4b5aaebb5bd1045e15553af2e6637;hp=91ffed004017bba4c9e3a7179d45d4c77a992ca3;p=xboard.git Fix crash XBoard on changing Game List Tags 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. --- diff --git a/ngamelist.c b/ngamelist.c index d202ad6..53df236 100644 --- a/ngamelist.c +++ b/ngamelist.c @@ -223,6 +223,7 @@ GameListReplace (int page) void GameListUpdate () { + if(!DialogExists(GameListDlg)) return; GameListPrepare(False, False); GameListReplace(0); }