Fixed issue with multipage tiffs where if page 1 was requested, the last page of the tiff would be retrieved
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4215 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cdb89ebbeb
commit
15f9dcadef
@ -449,7 +449,7 @@ identify_tiff_header(BPositionIO *inSource, BMessage *ioExtension,
|
||||
|
||||
// identify the document the user specified or the first document
|
||||
// if the user did not specify which document they wanted to identify
|
||||
if (document_index != 1 && !TIFFSetDirectory(tif, document_index - 1))
|
||||
if (!TIFFSetDirectory(tif, document_index - 1))
|
||||
return B_NO_TRANSLATOR;
|
||||
|
||||
if (outInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user