diff --git a/src/nano.c b/src/nano.c
index 197ca5654e8030a825316771db6ae284b8630c92..d0cdc1234c2dd5df8d65fb70171de645465added 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -3902,7 +3902,7 @@ bool do_mouse(void)
 
 	    /* Subtract out the size of topwin.  Perhaps we need a
 	     * constant somewhere? */
-	    mouse_y -= (2 - no_more_space());
+	    mouse_y -= 2 - no_more_space();
 
 	    sameline = (mouse_y == current_y);