mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
utf8-everywhere: Fixed crash when passing in a config directory using -d
This commit is contained in:
parent
c2c23894fc
commit
6602e6a7c5
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user