Fix typo
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 14 Sep 2014 20:47:55 +0000 (22:47 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 28 Sep 2014 20:14:26 +0000 (22:14 +0200)
gtk/xboard.c

index 95229f0..895e10f 100644 (file)
@@ -2235,7 +2235,7 @@ LoadLogo (ChessProgramState *cps, int n, Boolean ics)
        if(ics) { // [HGM] logo: in ICS mode second can be used for ICS
            sprintf(buf, "%s/%s.png", appData.logoDir, appData.icsHost);
        } else { // engine; look in engine-dir (if any) first
-           snprintf(buf, MDG_SIZ, "%s/logo.png", appData.directory[n]);
+           snprintf(buf, MSG_SIZ, "%s/logo.png", appData.directory[n]);
            if(appData.directory[n] && appData.directory[n][0]
               && strcmp(appData.directory[n], ".") && (f = fopen(buf, "r")) )
                fclose(f);