From: H.G. Muller Date: Sun, 11 Oct 2009 21:46:14 +0000 (-0700) Subject: fix for bug #27666: naming of variants X-Git-Tag: v4.4.1.20091019~29 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9aaa181a2accf39561c7da63947121669e0e657c;p=xboard.git fix for bug #27666: naming of variants Variant names "misc/xxx" are recognized as "normal", rather than "xxx" to not get confused by the board "misc shogi" run by FICS. --- diff --git a/backend.c b/backend.c index 1d03351..afd2196 100644 --- a/backend.c +++ b/backend.c @@ -1549,6 +1549,10 @@ StringToVariant(e) while( *e++ != '_'); } + if(StrCaseStr(e, "misc/")) { // [HGM] on FICS, misc/shogi is not shogi + v = VariantNormal; + found = TRUE; + } else for (i=0; i