From f2d8f6287d6e3fcb9e58402c2051d557f7e41632 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 6 Jan 2010 13:23:48 -0500 Subject: [PATCH] Fix the filename roundtrip check The check was always failing because the code was comparing the wrong strings. Reported in bug 605977. --- gio/glocalfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 2d2801d..d6eea13 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -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; -- 2.7.4