diff options
author | Arnavion <arnavion@gmail.com> | 2012-11-03 22:32:33 -0700 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2012-11-03 22:32:33 -0700 |
commit | 6602e6a7c56448806d8a46ac10f85bb6d8deed71 (patch) | |
tree | fc03fc5c5b38717f2a25a4e54f52efc3e1a94d77 /src/common/cfgfiles.c | |
parent | c2c23894fc4e376ff10c9c3cbcfa5c350c1e3073 (diff) |
utf8-everywhere: Fixed crash when passing in a config directory using -d
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 08afb967..f1e30b8b 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -320,7 +320,7 @@ get_xdir (void) if (portable_mode () || !get_reg_str ("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", "AppData", out, sizeof (out))) { - xdir = ".\\config"; + xdir = g_strdup (".\\config"); } else { |