--- 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;