diff options
author | Matthew Hoops | 2011-07-04 19:48:41 -0400 |
---|---|---|
committer | Johannes Schickel | 2012-03-20 01:06:48 +0100 |
commit | dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939 (patch) | |
tree | 33c97c1c484c6cfec26843a25ad591ba6e7e7161 /graphics/png.cpp | |
parent | b6d2a11432c16b12fea48830f7aa131dba091ef7 (diff) | |
download | scummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.tar.gz scummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.tar.bz2 scummvm-rg350-dd9790c1c8a10c8a9ffdef4d45a30ce078f0f939.zip |
GRAPHICS: Make PNG signature more readable
Diffstat (limited to 'graphics/png.cpp')
-rw-r--r-- | graphics/png.cpp | 2 |
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; } |