summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4cd6548..4f358bf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2227,7 +2227,7 @@ int main(int argc, char *argv[])
lb = 0;
}
}
- else if (y<YRES)// mouse is in playing field
+ else if (y<YRES && x<XRES)// mouse is in playing field
{
int signi;