diff options
author | Max Horn | 2002-12-25 21:02:21 +0000 |
---|---|---|
committer | Max Horn | 2002-12-25 21:02:21 +0000 |
commit | f1808d20ac90f4212fd14aeaf544a8aaac6a3fbc (patch) | |
tree | 56228e75a146b82ee34972e30b10626a2dd5d158 | |
parent | 9187172fe2f771b1d2036b231170446008631a98 (diff) | |
download | scummvm-rg350-f1808d20ac90f4212fd14aeaf544a8aaac6a3fbc.tar.gz scummvm-rg350-f1808d20ac90f4212fd14aeaf544a8aaac6a3fbc.tar.bz2 scummvm-rg350-f1808d20ac90f4212fd14aeaf544a8aaac6a3fbc.zip |
seems cursor width/height can occur
svn-id: r6146
-rw-r--r-- | backends/sdl/sdl-common.cpp | 4 |
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; |