Commit 99ca63cb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

getcwd() unicode fix

parent 52625179
......@@ -332,7 +332,7 @@ char **subtitles_Detect( input_thread_t *p_this, char *psz_path,
f_dir = (char *)realloc(f_dir, dirlen +2 );
f_dir[dirlen] = DIRECTORY_SEPARATOR;
f_dir[dirlen+1] = '\0';
f_fname = strdup( psz_fname );
f_fname = FromLocaleDup( psz_fname );
}
i_fname_len = strlen( f_fname );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment