diff --git a/src/video/kolibri/SDL_kolibrimouse.c b/src/video/kolibri/SDL_kolibrimouse.c index 94a0911..72ec355 100644 --- a/src/video/kolibri/SDL_kolibrimouse.c +++ b/src/video/kolibri/SDL_kolibrimouse.c @@ -71,7 +71,7 @@ static SDL_Cursor *KOLIBRI_CreateCursor(SDL_Surface *surface, int hot_x, int hot int i, j; /* Size of cursor must be 32x32 */ - if (surface->w == 32 || surface->h == 32) { + if (surface->w != 32 || surface->h != 32) { SDL_SetError("Size of the cursor must be 32x32"); return NULL; }