From f1808d20ac90f4212fd14aeaf544a8aaac6a3fbc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 25 Dec 2002 21:02:21 +0000 Subject: seems cursor width/height can occur svn-id: r6146 --- backends/sdl/sdl-common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index d4d31148fb..4d9b7f3174 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -401,8 +401,8 @@ void OSystem_SDL_Common::set_mouse_pos(int x, int y) { void OSystem_SDL_Common::set_mouse_cursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) { - assert(0 < w && w <= MAX_MOUSE_W); - assert(0 < h && h <= MAX_MOUSE_H); + assert(0 <= w && w <= MAX_MOUSE_W); + assert(0 <= h && h <= MAX_MOUSE_H); _mouseCurState.w = w; _mouseCurState.h = h; -- cgit v1.2.3