From a98b408ba20c8aef84f63e4abc3720537010e9bb Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 4 Jul 2026 06:20:59 +0200 Subject: [PATCH] :chaosleep: --- src/s_sound.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/s_sound.c b/src/s_sound.c index 6a4743892..ec5d2bcfb 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -1330,9 +1330,10 @@ static boolean ReadMusicDefFields(UINT16 wadnum, int line, char *stoken, musicde #define ADDDEF(field)\ int err = 0;\ STRBUFCPY(def->field, textline);\ - for (textline = def->field; *textline; textline++)\ + for (textline = def->field; *textline; textline++) {\ if (err == 0 && *textline == ' ') {err = 1; CONS_Alert(CONS_WARNING, "MUSICDEF: Erroneous whitespace detected in field '%s': '%s'.\n(file %s, line %d) Musicdef might not work correctly!\n", stoken, def->field, wadfiles[wadnum]->filename, line);}\ - if (*textline == '_') *textline = ' '; + if (*textline == '_') *textline = ' ';\ + } if (fasticmp(stoken, "usage")) {