From 9aaa181a2accf39561c7da63947121669e0e657c Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 11 Oct 2009 14:46:14 -0700 Subject: [PATCH] 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. --- backend.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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