X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=895e10f50a01e207c16d628d14c9bdf22e1a37e1;hb=2987ec348b8b2cbf38ba9a6a0793652a6b238ae8;hp=95229f0cee453c21718dde4b9e5fb0d207e1f827;hpb=85164e1c15746506744f2ff807d7f39228a8b2f4;p=xboard.git 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);