summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 22:53:33 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 22:53:33 +0000
commit61b451225e9e945f3d921750336b4c35cfe59b49 (patch)
tree0d85302e11657534d30b0a77cb64112589dad896
parent55c2c934de2702933652af1d655e0e377a829e6c (diff)
Small fix for g_key_file_get_string
-rw-r--r--eglib/gmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c
index 9936143d..6f2f2688 100644
--- a/eglib/gmain.c
+++ b/eglib/gmain.c
@@ -1314,6 +1314,7 @@ gchar *g_key_file_get_string(GKeyFile *key_file,
strncpy(tmp, line + i + 1, to_copy);
value = g_strdup(tmp);
+ break;
}
munmap(map, size);