From 79ffeb97fc3ce79f3165006c46b2a7fe06a9549e Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Thu, 4 Dec 2003 00:10:07 +0000 Subject: [PATCH] tweak for consistency with previous checkin [originally from svn r3622] --- 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.45.2