diff options
author | bviktor <bviktor@outlook.com> | 2012-11-03 22:35:50 -0700 |
---|---|---|
committer | bviktor <bviktor@outlook.com> | 2012-11-03 22:35:50 -0700 |
commit | 753a773bba82393717625f45ddce3def1974148f (patch) | |
tree | f917f9f16b76cebd9f5f0202d4830b03c7d7045e /src | |
parent | 82031ed6d4f41c18f9698719767a314095876185 (diff) | |
parent | 6602e6a7c56448806d8a46ac10f85bb6d8deed71 (diff) |
Merge pull request #225 from Arnavion/utf8-everywhere
utf8-everywhere: Fixed crash when passing in a config directory using -d
Diffstat (limited to 'src')
-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 { |