X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xgamelist.c;h=9784bf7ae00f666db1a8bf338b31a2bcec282c8a;hb=005ffb141611bf0b56f72b54548705549c7a04ec;hp=9b851d42819587a188572afdac102afe1df383c5;hpb=f214727e064bfa242138148a3993177f0aa7b5e7;p=xboard.git diff --git a/xgamelist.c b/xgamelist.c index 9b851d4..9784bf7 100644 --- a/xgamelist.c +++ b/xgamelist.c @@ -346,7 +346,7 @@ struct { 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); @@ -676,7 +676,7 @@ int SaveGameListAsText(FILE *f) 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; } @@ -812,7 +812,7 @@ GameListOptionsCreate() 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,