Fix from Michael Wardle in bell error message
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 3 Dec 2003 23:32:47 +0000 (23:32 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 3 Dec 2003 23:32:47 +0000 (23:32 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3619 cda61777-01e9-0310-a592-d414129be87e

window.c

index 9c77861..823ce3f 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);