window.c
changeset 2436 177cb6a8339f
parent 2216 51a715447fc4
child 2517 b90693227193
--- a/window.c	Sat Sep 17 13:57:01 2005 +0000
+++ b/window.c	Sun Sep 18 20:56:44 2005 +0000
@@ -1529,7 +1529,7 @@
 }
 
 
-int GetMenuItemIndex(Window *w, int x, int y)
+int GetMenuItemIndex(const Window *w, int x, int y)
 {
 	if ((x -= w->left) >= 0 && x < w->width && (y -= w->top + 1) >= 0) {
 		y /= 10;