]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
tweak for consistency with previous checkin
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 4 Dec 2003 00:10:07 +0000 (00:10 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 4 Dec 2003 00:10:07 +0000 (00:10 +0000)
[originally from svn r3622]

window.c

index 823ce3fc2bf64f08f23d2962056637985ec24007..a039ed3bf5e5c3bb40419c9eb20d6cd1f872d52f 100644 (file)
--- 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);