From 364663c49d5e33687f590c946363c25fa6abbe5d Mon Sep 17 00:00:00 2001 From: castano Date: Mon, 17 Dec 2007 06:27:03 +0000 Subject: [PATCH] Fix error. Wrong return value. --- src/nvimage/ImageIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvimage/ImageIO.cpp b/src/nvimage/ImageIO.cpp index 61ed501..545076c 100644 --- a/src/nvimage/ImageIO.cpp +++ b/src/nvimage/ImageIO.cpp @@ -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;