summaryrefslogtreecommitdiff
blob: 9b4994547e162c3fbab16fb91d5e5b747165d645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
http://bugs.gentoo.org/427166

--- tools/tiff2pdf.c
+++ tools/tiff2pdf.c
@@ -1066,6 +1066,7 @@
 				"Can't set directory %u of input file %s", 
 				i,
 				TIFFFileName(input));
+			t2p->t2p_error = T2P_ERR_ERROR;
 			return;
 		}
 		if(TIFFGetField(input, TIFFTAG_PAGENUMBER, &pagen, &paged)){