From feb2178fcad4b5aaebb5bd1045e15553af2e6637 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 4 Mar 2015 09:09:28 +0100 Subject: [PATCH] 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. --- ngamelist.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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); } -- 1.7.0.4