X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=4044175c6f48d0ae6abc72eae6a84abbce9a0d46;hb=715e33a60133ac9ac76b3aa0a5cf6f14f0f3930f;hp=54a7e705d510c31c346eb90df2ff6682f7666fad;hpb=e5add5b323b40468985d5a04e21d510d1fcaa673;p=xboard.git diff --git a/backend.c b/backend.c index 54a7e70..4044175 100644 --- a/backend.c +++ b/backend.c @@ -13883,11 +13883,11 @@ ParseOption(Option *opt, ChessProgramState *cps) } else if((p = strstr(opt->name, " -file "))) { // for now -file is a synonym for -string, to already provide compatibility with future polyglots opt->textValue = p+7; - opt->type = TextBox; // FileName; + opt->type = FileName; // FileName; } else if((p = strstr(opt->name, " -path "))) { // for now -file is a synonym for -string, to already provide compatibility with future polyglots opt->textValue = p+7; - opt->type = TextBox; // PathName; + opt->type = PathName; // PathName; } else if(p = strstr(opt->name, " -check ")) { if(sscanf(p, " -check %d", &def) < 1) return FALSE; opt->value = (def != 0);