From d0ec6ef1d4f0facbb18eeb48f85648bd88797c10 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 4 Mar 2018 13:09:29 +0200 Subject: [PATCH] TiMidity++ now loads SF2 soundfont with spaces in path --- src/sound/i_soundfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/i_soundfont.cpp b/src/sound/i_soundfont.cpp index 4bb6eeeef5..4a073bc5e9 100644 --- a/src/sound/i_soundfont.cpp +++ b/src/sound/i_soundfont.cpp @@ -107,7 +107,7 @@ int FSoundFontReader::pathcmp(const char *p1, const char *p2) FSF2Reader::FSF2Reader(const char *fn) { - mMainConfigForSF2.Format("soundfont %s\n", fn); + mMainConfigForSF2.Format("soundfont \"%s\"\n", fn); mFilename = fn; }