Fixed g_list_append return value warning

This commit is contained in:
Jesse van den Kieboom 2006-02-06 18:41:30 +00:00
parent 7490eb04f9
commit 340c05a42b
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ gm_string_split_add_line(gchar *line, GList *lines, GList **lastptr) {
lines = g_list_append(NULL, line);
*lastptr = lines;
} else {
g_list_append(*lastptr, line);
*lastptr = g_list_append(*lastptr, line);
*lastptr = (*lastptr)->next;
}