summaryrefslogtreecommitdiff
path: root/common/gdm-settings-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gdm-settings-utils.c')
-rw-r--r--common/gdm-settings-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gdm-settings-utils.c b/common/gdm-settings-utils.c
index ca0153bb..5c95443c 100644
--- a/common/gdm-settings-utils.c
+++ b/common/gdm-settings-utils.c
@@ -278,10 +278,10 @@ gboolean
gdm_settings_parse_value_as_boolean (const char *value,
gboolean *bool)
{
- if (strcmp (value, "true") == 0 || strcmp (value, "1") == 0) {
+ if (g_ascii_strcasecmp (value, "true") == 0 || strcmp (value, "1") == 0) {
*bool = TRUE;
return TRUE;
- } else if (strcmp (value, "false") == 0 || strcmp (value, "0") == 0) {
+ } else if (g_ascii_strcasecmp (value, "false") == 0 || strcmp (value, "0") == 0) {
*bool = FALSE;
return TRUE;
} else {