aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-07-04 19:48:41 -0400
committerJohannes Schickel2012-03-20 01:06:48 +0100
commitdd9790c1c8a10c8a9ffdef4d45a30ce078f0f939 (patch)
tree33c97c1c484c6cfec26843a25ad591ba6e7e7161
parentb6d2a11432c16b12fea48830f7aa131dba091ef7 (diff)
downloadscummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.tar.gz
scummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.tar.bz2
scummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.zip
GRAPHICS: Make PNG signature more readable
-rw-r--r--graphics/png.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/png.cpp b/graphics/png.cpp
index cea8b575ad..156c405780 100644
--- a/graphics/png.cpp
+++ b/graphics/png.cpp
@@ -207,7 +207,7 @@ bool PNG::read(Common::SeekableReadStream *str) {
_stream = str;
// First, check the PNG signature
- if (_stream->readUint32BE() != MKTAG(0x89, 0x50, 0x4e, 0x47)) {
+ if (_stream->readUint32BE() != MKTAG(0x89, 'P', 'N', 'G')) {
delete _stream;
return false;
}