diff options
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/gmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c index 108df5f5..a2c095f3 100644 --- a/eglib/gmain.c +++ b/eglib/gmain.c @@ -1324,7 +1324,7 @@ gboolean g_key_file_get_boolean(GKeyFile *key_file, if (!str) return FALSE; - if (strcmp(str, str) == 0) + if (strcmp(str, "true") == 0 || strcmp(str, "1") == 0) ret = TRUE; else ret = FALSE; |