Revision: 1089
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1089&view=rev
Author:   bruclik
Date:     2008-08-25 18:13:33 +0000 (Mon, 25 Aug 2008)

Log Message:
-----------
Fixed segfaulting when alter image in directory without images.

Modified Paths:
--------------
    trunk/src/image.c

Modified: trunk/src/image.c
===================================================================
--- trunk/src/image.c   2008-08-25 16:58:27 UTC (rev 1088)
+++ trunk/src/image.c   2008-08-25 18:13:33 UTC (rev 1089)
@@ -339,7 +339,7 @@
        static const gint flip[]         = {1,   4, 3, 2, 1, 8, 7, 6, 5};
 
 
-       if (!imd || !imd->pr) return;
+       if (!imd || !imd->pr || !imd->image_fd) return;
 
        if (imd->orientation < 1 || imd->orientation > 8) imd->orientation = 1;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to