Use new_path

This commit is contained in:
twinaphex 2016-04-28 21:47:33 +02:00
parent cedb005c93
commit 02ea0a8a80

View File

@ -683,7 +683,7 @@ static void check_defaults_dir_create_dir(const char *path)
fill_pathname_expand_special(new_path,
path, sizeof(new_path));
if (path_is_directory(path))
if (path_is_directory(new_path))
return;
path_mkdir(new_path);
}