Original export fix for image file names



The Original export in the CVS (and earlier versions) of F-spot has a
problem with the image numbering scheme. Since the array is looped from
zero, the image names start from zero, causing problems with original.

the following diff fixes the problem.

diff -r1.10 FolderExport.cs
440c440
<                       return String.Format ("img-{0}.jpg", photo_index);
---
>                       return String.Format ("img-{0}.jpg", photo_index + 1);

ramin

P.S. Alessandro asked me to post this here to be added to the CVS version.
-- 
Ramin Miraftabi                             http://fierymill.net/ramin/
                                                     blog @
http://randomfire.fierymill.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]