projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6a3cd3e
)
Fix typo
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Sun, 14 Sep 2014 20:47:55 +0000 (22:47 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Sun, 28 Sep 2014 20:14:26 +0000 (22:14 +0200)
gtk/xboard.c
patch
|
blob
|
history
diff --git
a/gtk/xboard.c
b/gtk/xboard.c
index
95229f0
..
895e10f
100644
(file)
--- 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);