foxygit / doom Log in
commit 0b3cb528c3f53c61d7a4ebe13a7d522570b98d83
Author:     Michael Day <43701387+mikeday0@users.noreply.github.com>
AuthorDate: Mon Apr 28 15:44:45 2025 -0400
Commit:     GitHub <noreply@github.com>
CommitDate: Mon Apr 28 21:44:45 2025 +0200

    Merge pull request #1706 from mikeday0/gusspaces

    Allow spaces in GUS patch folder path
---
 src/gusconf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gusconf.c b/src/gusconf.c
index eed6c5b2..5cd1d62a 100644
--- a/src/gusconf.c
+++ b/src/gusconf.c
@@ -238,7 +238,7 @@ static boolean WriteTimidityConfig(char *path, gus_config_t *config)

     fprintf(fstream, "# Autogenerated Timidity config.\n\n");

-    fprintf(fstream, "dir %s\n", gus_patch_path);
+    fprintf(fstream, "dir \"%s\"\n", gus_patch_path);

     fprintf(fstream, "\nbank 0\n\n");