]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix from Michael Wardle in bell error message
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 3 Dec 2003 23:32:47 +0000 (23:32 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Wed, 3 Dec 2003 23:32:47 +0000 (23:32 +0000)
[originally from svn r3619]

window.c

index 9c77861f453e93d6734aa63bc86d7a22a4b052db..823ce3fc2bf64f08f23d2962056637985ec24007 100644 (file)
--- a/window.c
+++ b/window.c
@@ -4436,7 +4436,7 @@ void beep(void *frontend, int mode)
            char buf[sizeof(cfg.bell_wavefile) + 80];
            char otherbuf[100];
            sprintf(buf, "Unable to play sound file\n%s\n"
-                   "Using default sound instead", cfg.bell_wavefile);
+                   "Using default sound instead", cfg.bell_wavefile.path);
            sprintf(otherbuf, "%.70s Sound Error", appname);
            MessageBox(hwnd, buf, otherbuf,
                       MB_OK | MB_ICONEXCLAMATION);