[Rawstudio-commit] r4136 - trunk/librawstudio

Klaus Post klauspost at gmail.com
Fri Feb 17 18:12:49 CET 2012


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 *




More information about the Rawstudio-commit mailing list