summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unix/read_cfg.c2
-rw-r--r--src/windows/read_cfg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unix/read_cfg.c b/src/unix/read_cfg.c
index 602c750..09944b1 100644
--- a/src/unix/read_cfg.c
+++ b/src/unix/read_cfg.c
@@ -122,7 +122,7 @@ void mkconfig_wizard(char *path){
" if string.match(file, filePattern) then\n"
" table.insert(parentGroup.Entries, {\n"
" name = file,\n"
- " path = fullFilePath\n"
+ " path = '\"' .. fullFilePath .. '\"'\n"
" })\n"
" end\n"
" end\n"
diff --git a/src/windows/read_cfg.c b/src/windows/read_cfg.c
index 79e56b7..47d50ae 100644
--- a/src/windows/read_cfg.c
+++ b/src/windows/read_cfg.c
@@ -125,7 +125,7 @@ void mkconfig_wizard(char *path){
" if string.match(file, filePattern) then\n"
" table.insert(parentGroup.Entries, {\n"
" name = file,\n"
- " path = fullFilePath\n"
+ " path = '\"' .. fullFilePath .. '\"'\n"
" })\n"
" end\n"
" end\n"