summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/im_format_raw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im_format_raw.cpp b/src/im_format_raw.cpp
index a7b7934..5f8d2e5 100644
--- a/src/im_format_raw.cpp
+++ b/src/im_format_raw.cpp
@@ -2,7 +2,7 @@
* \brief RAW File Format
*
* See Copyright Notice in im_lib.h
- * $Id: im_format_raw.cpp,v 1.2 2008/12/03 15:45:34 scuri Exp $
+ * $Id: im_format_raw.cpp,v 1.3 2009/07/10 18:39:37 scuri Exp $
*/
#include "im_format.h"
@@ -73,7 +73,7 @@ int imFileFormatRAW::Open(const char* file_name)
strcpy(this->compression, "NONE");
- this->image_count = 0;
+ this->image_count = 1; /* at least one image */
this->padding = 0;
return IM_ERR_NONE;