aboutsummaryrefslogtreecommitdiff
path: root/graphics/png.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png.cpp')
-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;
}