X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=ngamelist.c;h=1004a92b3ff16631c6a0441125e192dc2a0bf2ee;hb=4fc6fe186519313063f3130fce510e55c9cf6f71;hp=d202ad6d146643dca063f3bee95e60c81809b9f2;hpb=67051c8bb6f5a71f15b249f9e9757e3e63ef88f3;p=xboard.git diff --git a/ngamelist.c b/ngamelist.c index d202ad6..1004a92 100644 --- a/ngamelist.c +++ b/ngamelist.c @@ -1,7 +1,7 @@ /* * ngamelist.c -- Game list window, Xt-independent front-end code for XBoard * - * Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Free Software Foundation, Inc. * ------------------------------------------------------------------------ * * GNU XBoard is free software: you can redistribute it and/or modify @@ -223,6 +223,7 @@ GameListReplace (int page) void GameListUpdate () { + if(!DialogExists(GameListDlg)) return; GameListPrepare(False, False); GameListReplace(0); }