/*\r
* wgamelist.c -- Game list window for WinBoard\r
*\r
- * Copyright 1995, 2009, 2010, 2011 Free Software Foundation, Inc.\r
+ * Copyright 1995, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.\r
*\r
* Enhancements Copyright 2005 Alessandro Scotti\r
*\r
}\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
SendDlgItemMessage(hDlg, OPT_GameListText, LB_SETCURSEL, nItem, 0);\r
break; /* load the game*/\r
\r
-// case OPT_GameListPrev:\r
+ case OPT_GameListPrev:\r
nItem = SendDlgItemMessage(hDlg, OPT_GameListText, LB_GETCURSEL, 0, 0);\r
nItem--;\r
if (nItem < 0) {\r
break; /* load the game*/\r
\r
/* [AS] */\r
- case OPT_GameListPrev:\r
+ case OPT_GameListFind:\r
case IDC_GameListDoFilter:\r
{\r
char filter[MAX_FILTER_LENGTH+1];\r