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 794057b2..0a42f1b9 100644 --- a/eglib/gmain.c +++ b/eglib/gmain.c @@ -1294,7 +1294,7 @@ gchar *g_key_file_get_string(GKeyFile *key_file, if (strncmp(line, key, key_len)) continue; - for (i = 0; line[i] != '\n'; i++) { + for (i = key_len; line[i] != '\n'; i++) { if (line[i] == '=') break; if (!isspace(line[i])) |