Fix: iOS cannot go to parent directory.

This commit is contained in:
Yongwoon Cho 2015-11-05 05:43:13 +09:00
parent 519765c6ce
commit 9ba6877772

View File

@ -381,6 +381,7 @@ void fill_pathname_basedir(char *out_dir,
void fill_pathname_parent_dir(char *out_dir,
const char *in_dir, size_t size)
{
if (out_dir != in_path)
retro_assert(strlcpy(out_dir, in_dir, size) < size);
path_parent_dir(out_dir);
}