From bf959f926ff6dee99a15d91652256169a6484042 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sat, 24 Nov 2007 10:38:43 +0000 Subject: (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 3f6ac8471..789ef9603 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -953,7 +953,7 @@ Window *FindWindowFromPt(int x, int y) for (wz = _last_z_window; wz != _z_windows;) { Window *w = *--wz; - if (IS_INSIDE_1D(x, w->left, w->width) && IS_INSIDE_1D(y, w->top, w->height)) { + if (IsInsideBS(x, w->left, w->width) && IsInsideBS(y, w->top, w->height)) { return w; } } -- cgit v1.2.3-54-g00ecf