Author: post
Date: 2012-02-17 18:12:48 +0100 (Fri, 17 Feb 2012)
New Revision: 4136

Modified:
   trunk/librawstudio/rs-tiff.c
Log:
Return actual return values.

Modified: trunk/librawstudio/rs-tiff.c
===================================================================
--- trunk/librawstudio/rs-tiff.c        2012-02-17 17:12:14 UTC (rev 4135)
+++ trunk/librawstudio/rs-tiff.c        2012-02-17 17:12:48 UTC (rev 4136)
@@ -145,7 +145,7 @@
                        break;
        }
 
-       return TRUE;
+       return ret;
 }
 
 static gboolean
@@ -163,7 +163,7 @@
                ret = FALSE;
        }
 
-       return RS_TIFF_GET_CLASS(tiff)->read_file_header(tiff);
+       return ret && RS_TIFF_GET_CLASS(tiff)->read_file_header(tiff);
 }
 
 RSTiff *


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to