From c7c73acb1eafed45587dd140ef7fdf518415edd9 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 6 Sep 2014 23:13:01 +0200 Subject: [PATCH] Fix syntax error in bitbase code --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index 57775f3..948081f 100644 --- 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); -- 1.7.0.4