From 4d46b7882a42469932a89149e1fc2c6a0a3fa280 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Wed, 29 Dec 2004 14:25:20 +0000 Subject: oops... thanks wjp for pointing me this one svn-id: r16368 --- queen/display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queen/display.cpp b/queen/display.cpp index 6e86abab50..50e5766a6c 100644 --- a/queen/display.cpp +++ b/queen/display.cpp @@ -876,7 +876,7 @@ void Display::drawTexts() { } void Display::clearTexts(uint16 y1, uint16 y2) { - assert(y1 <= y2 <= GAME_SCREEN_HEIGHT); + assert(y1 <= y2 && y2 < GAME_SCREEN_HEIGHT); while (y1 <= y2) { _texts[y1].text.clear(); ++y1; -- cgit v1.2.3