[PATCH] gphoto2: import photos in the right order

Lei Zhang thestig at google.com
Thu Aug 23 15:25:30 CDT 2007


Hi,

Photos are currently imported in reverse order because we add them to
the front of the list on the initial scan. We should add them to the
end of the list instead.
-------------- next part --------------
From bfdf4b541f68cbdab56e7219deff65552c455798 Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig at google.com>
Date: Thu, 23 Aug 2007 11:40:43 -0700
Subject: [PATCH] gphoto2: import photos in the right order
---
 dlls/gphoto2.ds/ds_ctrl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gphoto2.ds/ds_ctrl.c b/dlls/gphoto2.ds/ds_ctrl.c
index 1b439b3..9644f8a 100644
--- a/dlls/gphoto2.ds/ds_ctrl.c
+++ b/dlls/gphoto2.ds/ds_ctrl.c
@@ -63,7 +63,7 @@ #ifdef HAVE_GPHOTO2
 	gpfile->folder = strdup(folder);
 	gpfile->filename = strdup(name);
 	gpfile->download = FALSE;
-	list_add_head( &activeDS.files, &gpfile->entry );
+	list_add_tail( &activeDS.files, &gpfile->entry );
     }
     gp_list_reset (list);
 
-- 
1.4.1


More information about the wine-patches mailing list