diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/renderercommon/tr_image_png.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderercommon/tr_image_png.c b/src/renderercommon/tr_image_png.c index 87915a54..7b33c9d3 100644 --- a/src/renderercommon/tr_image_png.c +++ b/src/renderercommon/tr_image_png.c @@ -2275,7 +2275,7 @@ void R_LoadPNG(const char *name, byte **pic, int *width, int *height) { case PNG_ColourType_Grey : { - if(!ChunkHeaderLength == 2) + if(ChunkHeaderLength != 2) { CloseBufferedFile(ThePNG); @@ -2297,7 +2297,7 @@ void R_LoadPNG(const char *name, byte **pic, int *width, int *height) case PNG_ColourType_True : { - if(!ChunkHeaderLength == 6) + if(ChunkHeaderLength != 6) { CloseBufferedFile(ThePNG); |