From: <mar...@us...> - 2009-05-20 15:06:28
|
Revision: 12115 http://gphoto.svn.sourceforge.net/gphoto/?rev=12115&view=rev Author: marcusmeissner Date: 2009-05-20 15:06:18 +0000 (Wed, 20 May 2009) Log Message: ----------- in dual jpg+raw capture, add both files to the fs, but return only the last one. Modified Paths: -------------- branches/libgphoto2-2_4/libgphoto2/camlibs/ptp2/library.c Modified: branches/libgphoto2-2_4/libgphoto2/camlibs/ptp2/library.c =================================================================== --- branches/libgphoto2-2_4/libgphoto2/camlibs/ptp2/library.c 2009-05-20 15:02:20 UTC (rev 12114) +++ branches/libgphoto2-2_4/libgphoto2/camlibs/ptp2/library.c 2009-05-20 15:06:18 UTC (rev 12115) @@ -1779,7 +1779,7 @@ /* delete last / or we get confused later. */ path->folder[ strlen(path->folder)-1 ] = '\0'; gp_filesystem_append (camera->fs, path->folder, path->name, context); - break; + continue; /* for RAW+JPG mode capture, we just return the last image for now. */ } } free (entries); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |