st = glc->strings;
lg = (ListGame *) gameList.head;
listLength = wins = losses = draws = 0;
- if(byPos) MakePieceList(boards[currentMove], soughtCounts), CopyBoard(soughtBoard, boards[currentMove]);
+ if(byPos) InitSearch();
while (nstrings--) {
int pos = -1;
line = GameListLine(lg->number, &lg->gameInfo);
int nItem;
if( !glc || ((ListGame *) gameList.tailPred)->number <= 0 ) {
- DisplayError("Game list not loaded or empty", 0);
+ DisplayError(_("Game list not loaded or empty"), 0);
return False;
}
XtSetArg(args[j], XtNresizable, True); j++;
XtSetArg(args[j], XtNallowShellResize, True); j++;
shell = gameListOptShell =
- XtCreatePopupShell("Game-list options", transientShellWidgetClass,
+ XtCreatePopupShell(_("Game-list options"), transientShellWidgetClass,
shellWidget, args, j);
layout =
XtCreateManagedWidget(layoutName, formWidgetClass, shell,