diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-21 23:11:43 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-21 23:11:43 +0000 |
commit | e67f1e9e5f1fd1f1c5ded32cd7f3bf2242d20f0d (patch) | |
tree | 12bd2167f7155a0d7b097c7595a999f7c359e297 /eglib/gmain.c | |
parent | 17455416144df12415dce55a355f61815435dc68 (diff) |
Fix g_key_file_parse_string (again)
Diffstat (limited to 'eglib/gmain.c')
-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])) |