Call DoEvents during time-consuming operations
[xboard.git] / gamelist.c
index 62b4e83..2055e96 100644 (file)
@@ -373,7 +373,7 @@ GameListBuild (FILE *f)
        }
        if(gameNumber % 1000 == 0) {
            snprintf(buf, MSG_SIZ, _("Reading game file (%d)"), gameNumber);
-           DisplayTitle(buf);
+           DisplayTitle(buf); DoEvents();
        }
     }
     while (cm != (ChessMove) 0);