diff options
-rw-r--r-- | graphics/exact-image/files/patch-codecs_raw.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/exact-image/files/patch-codecs_raw.cc b/graphics/exact-image/files/patch-codecs_raw.cc new file mode 100644 index 000000000000..263408f097db --- /dev/null +++ b/graphics/exact-image/files/patch-codecs_raw.cc @@ -0,0 +1,14 @@ +--- codecs/raw.cc.orig 2011-01-14 16:30:13 UTC ++++ codecs/raw.cc +@@ -71,9 +71,8 @@ bool RAWCodec::writeImage (std::ostream* stream, Image + if (!image.getRawData()) + return false; + +- return stream->write ((char*)image.getRawData(), image.stride()*image.h) +- /* == +- (size_t) image.stride()*image.h*/; ++ stream->write ((char*)image.getRawData(), image.stride()*image.h); ++ return stream->good(); + } + + RAWCodec raw_loader; |