[gdm] Fix up inverted utf8 check
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Fix up inverted utf8 check
- Date: Thu, 16 Sep 2010 00:21:39 +0000 (UTC)
commit f352c391ce4550852ad46ab8c3c50394450be82f
Author: Ray Strode <rstrode redhat com>
Date: Wed Sep 15 20:06:55 2010 -0400
Fix up inverted utf8 check
There is a check to reject non-utf8 locales,
but the check was unintentionally inverted.
gui/simple-greeter/gdm-languages.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-languages.c b/gui/simple-greeter/gdm-languages.c
index 74d032a..aae345a 100644
--- a/gui/simple-greeter/gdm-languages.c
+++ b/gui/simple-greeter/gdm-languages.c
@@ -369,7 +369,7 @@ add_locale (const char *language_name,
name = g_strdup_printf ("%s.utf8", language_name);
language_name_get_codeset_details (name, NULL, &is_utf8);
- if (is_utf8) {
+ if (!is_utf8) {
g_free (name);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]