From: Jacob Nevins Date: Thu, 4 Dec 2003 00:10:07 +0000 (+0000) Subject: tweak for consistency with previous checkin X-Git-Tag: 0.54~54 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=79ffeb97fc3ce79f3165006c46b2a7fe06a9549e;p=PuTTY.git tweak for consistency with previous checkin [originally from svn r3622] --- diff --git a/window.c b/window.c index 823ce3fc..a039ed3b 100644 --- a/window.c +++ b/window.c @@ -4433,7 +4433,7 @@ void beep(void *frontend, int mode) } else if (mode == BELL_WAVEFILE) { if (!PlaySound(cfg.bell_wavefile.path, NULL, SND_ASYNC | SND_FILENAME)) { - char buf[sizeof(cfg.bell_wavefile) + 80]; + char buf[sizeof(cfg.bell_wavefile.path) + 80]; char otherbuf[100]; sprintf(buf, "Unable to play sound file\n%s\n" "Using default sound instead", cfg.bell_wavefile.path);