[gnome-games] libgames/games-files.c: actually concat the lists
- From: Thomas Hindoe Paaboel Andersen <thomashpa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] libgames/games-files.c: actually concat the lists
- Date: Wed, 5 Oct 2011 22:08:20 +0000 (UTC)
commit 78a25e5dd0751244ca10758b61c9f5cf492dba30
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Thu Oct 6 00:08:20 2011 +0200
libgames/games-files.c: actually concat the lists
libgames-support/games-files.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgames-support/games-files.c b/libgames-support/games-files.c
index 11cb83b..eb2a646 100644
--- a/libgames-support/games-files.c
+++ b/libgames-support/games-files.c
@@ -261,7 +261,6 @@ GamesFileList *
games_file_list_new_images (const gchar * path1, ...)
{
GamesFileList *filelist;
- GList *list;
gchar *pathentry;
va_list paths;
@@ -270,7 +269,7 @@ games_file_list_new_images (const gchar * path1, ...)
filelist->priv->list = games_file_list_new_images_single (path1);
va_start (paths, path1);
while ((pathentry = va_arg (paths, gchar *)) != NULL) {
- list = g_list_concat (filelist->priv->list,
+ filelist->priv->list = g_list_concat (filelist->priv->list,
games_file_list_new_images_single (pathentry));
}
va_end (paths);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]