free(buf); /* [AS] */\r
return;\r
}\r
- if(!appData.auto\r
if(!appData.autoFlipView) appData.flipView = flipView;\r
LoadGameFromFile(pasteTemp, 0, "Clipboard", TRUE);\r
appData.flipView = flip;\r
Board dummyBoard; int dummy; // [HGM] paste any\r
\r
if (!PasteTextFromClipboard(&buf)) {\r
+\r
return;\r
}\r
\r
while((j = radioButton[i++]) != -2) {\r
if(j == -1) continue; // no menu button\r
v = VariantName(i-1); p = strstr(first.variants, v);\r
- EnableWindow(GetDlgItem(hDlg, j), appData.noChessProgram || p && (!*v || strlen(v) == strlen[p] || p[strlen[v]] == ','));\r
+ EnableWindow(GetDlgItem(hDlg, j), appData.noChessProgram || p && (!*v || strlen(v) == strlen(p) || p[strlen(v)] == ','));\r
}\r
*engineVariant = c;\r
for(i=0; i<15; i++) { // initialize engine-defined variants\r