From 850323f90aba84761ba411f18086a2b5a674506d Mon Sep 17 00:00:00 2001 From: jacob Date: Thu, 4 Dec 2003 00:10:07 +0000 Subject: [PATCH] tweak for consistency with previous checkin git-svn-id: svn://svn.tartarus.org/sgt/putty@3622 cda61777-01e9-0310-a592-d414129be87e --- window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0