From be4668ee3abd74218bd555ebc1b8f885995f7d43 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 16 Jul 2016 15:32:53 +0100 Subject: [PATCH] Fix #4108: Assertion an crash at startup --- src/drawing/Image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drawing/Image.cpp b/src/drawing/Image.cpp index bc8a879d7d..ee02e458d6 100644 --- a/src/drawing/Image.cpp +++ b/src/drawing/Image.cpp @@ -56,7 +56,7 @@ static bool AllocatedListContains(uint32 baseImageId, uint32 count) static uint32 AllocateImageList(uint32 count) { - Guard::Assert(count == 0, GUARD_LINE); + Guard::Assert(count != 0, GUARD_LINE); if (!_initialised) {