Fix error. Wrong return value.

This commit is contained in:
castano 2007-12-17 06:27:03 +00:00
parent eb96117989
commit 364663c49d

View File

@ -1042,7 +1042,7 @@ bool nv::ImageIO::saveFloatTIFF(const char * fileName, const FloatImage * fimage
if (TIFFWriteScanline(image, scanline, y, 0)==-1)
{
nvDebug("Error writing scanline %d\n", y);
return -1;
return false;
}
}
delete [] scanline;