From 73c2c933cf026d88f54f4bfc3c40bab9bc753aa2 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sun, 14 Sep 2014 22:47:55 +0200 Subject: [PATCH] Fix typo --- gtk/xboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.0.4