1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

Fix from Michael Wardle in bell error message

[originally from svn r3619]
This commit is contained in:
Jacob Nevins 2003-12-03 23:32:47 +00:00
parent e9b9df0fb9
commit 5438acd044

View File

@ -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);