summaryrefslogtreecommitdiff
path: root/common/im_gif.cpp
diff options
context:
space:
mode:
authorleo2001-05-13 18:19:11 +0000
committerleo2001-05-13 18:19:11 +0000
commit48f84d16bae72a7906e6bf9b828bc75ae3ddb865 (patch)
treefe816cb34e5d67f2d808753e8276fed410634a81 /common/im_gif.cpp
parent5ce334dbfb9b5311579df862096546d8e1db71d8 (diff)
Fixed warning message
git-svn-id: http://svn.leocad.org/trunk@268 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/im_gif.cpp')
-rw-r--r--common/im_gif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/im_gif.cpp b/common/im_gif.cpp
index 65dc4f3..16ef616 100644
--- a/common/im_gif.cpp
+++ b/common/im_gif.cpp
@@ -210,7 +210,7 @@ bool Image::LoadGIF (File& file)
if ((hdrbuf[0] != 'G' || hdrbuf[1] != 'I' || hdrbuf[2] != 'F') ||
((hdrbuf[3] != '8' || hdrbuf[4] != '7' || hdrbuf[5] != 'a') &&
(hdrbuf[3] != '8' || hdrbuf[4] != '9' || hdrbuf[5] != 'a')))
- return NULL;
+ return false;
source->input_file->Read(hdrbuf, 7);
width = LM_to_uint(hdrbuf[0],hdrbuf[1]);