Fix the filename roundtrip check

The check was always failing because the code was comparing
the wrong strings. Reported in bug 605977.
(cherry picked from commit f2d8f6287d6e3fcb9e58402c2051d557f7e41632)
This commit is contained in:
Matthias Clasen 2010-01-06 13:23:48 -05:00
parent 40005647ed
commit 2c0c35af56

View File

@ -423,7 +423,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;