Fix syntax error in bitbase code
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 6 Sep 2014 21:13:01 +0000 (23:13 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sat, 6 Sep 2014 21:13:01 +0000 (23:13 +0200)
backend.c

index 57775f3..948081f 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -8371,10 +8371,10 @@ BitbaseProbe ()
     // probe EGBB
     if(loaded == 2) return 13; // loading failed before
     if(loaded == 0) {
-       loaded = 2; // prepare for failure
        char *p, *path = strstr(appData.egtFormats, "scorpio:"), buf[MSG_SIZ];
        HMODULE lib;
        PLOAD_EGBB loadBB;
+       loaded = 2; // prepare for failure
        if(!path) return 13; // no egbb installed
        strncpy(buf, path + 8, MSG_SIZ);
        if(p = strchr(buf, ',')) *p = NULLCHAR; else p = buf + strlen(buf);