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

tweak for consistency with previous checkin

[originally from svn r3622]
This commit is contained in:
Jacob Nevins 2003-12-04 00:10:07 +00:00
parent 5438acd044
commit 79ffeb97fc

View File

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