Debug position search cache
[xboard.git] / winboard / wgamelist.c
index 9d15fa1..382f061 100644 (file)
@@ -86,6 +86,8 @@ static int GameListToListBox( HWND hDlg, BOOL boReset, char * pszFilter, struct
         }\r
     }\r
 \r
+    if(byPos) InitSearch();\r
+\r
     for (nItem = 0; nItem < ((ListGame *) gameList.tailPred)->number; nItem++){\r
         char * st = NULL;\r
         BOOL skip = FALSE;\r