X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fcommondsp.c;h=422dab660972823cdb64e3cbdb3fd1ac18557510;hb=d382a9f843aa61ef352ce199823788f96d4912c3;hp=40bfd22e329e79f415c7086e9b06acd5dd1d700f;hpb=916e9d3b3acd6422ad21f8edbbe5da768737f2b8;p=gnushogi.git diff --git a/gnushogi/commondsp.c b/gnushogi/commondsp.c index 40bfd22..422dab6 100644 --- a/gnushogi/commondsp.c +++ b/gnushogi/commondsp.c @@ -1744,10 +1744,13 @@ InputCommand(char *command) { ListGame(); } - else if ((strcmp(s, "level") == 0) - || (strcmp(s, "clock") == 0)) + else if (strcmp(s, "level") == 0) { - dsp->SelectLevel(sx); + dsp->SelectLevel(sx + strlen("level")); + } + else if (strcmp(s, "clock") == 0) + { + dsp->SelectLevel(sx + strlen("clock")); } else if (strcmp(s, "hash") == 0) {