diff --git a/src/winio.c b/src/winio.c index 9569f060..b329f5c5 100644 --- a/src/winio.c +++ b/src/winio.c @@ -1775,9 +1775,9 @@ int get_mouseinput(int *mouse_x, int *mouse_y, bool allow_shortcuts) return 2; } #endif - else - /* Ignore all other mouse events. */ - return 2; + + /* Ignore all other mouse events. */ + return 2; } #endif /* !DISABLE_MOUSE */