aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/sdl/sdl-common.cpp4
1 files 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;