mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix the filename roundtrip check
The check was always failing because the code was comparing the wrong strings. Reported in bug 605977.
This commit is contained in:
parent
baf20e0984
commit
f2d8f6287d
@ -417,7 +417,7 @@ g_local_file_get_parse_name (GFile *file)
|
||||
charset, "UTF-8", NULL, NULL, NULL);
|
||||
|
||||
if (roundtripped_filename == NULL ||
|
||||
strcmp (utf8_filename, roundtripped_filename) != 0)
|
||||
strcmp (filename, roundtripped_filename) != 0)
|
||||
{
|
||||
g_free (utf8_filename);
|
||||
utf8_filename = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user