From: H.G.Muller Date: Sun, 14 Sep 2014 20:47:55 +0000 (+0200) Subject: Fix typo X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=73c2c933cf026d88f54f4bfc3c40bab9bc753aa2;p=xboard.git Fix typo --- diff --git a/gtk/xboard.c b/gtk/xboard.c index 95229f0..895e10f 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -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);