From 984a992d0eddb2843860d36b4bb7476905fff47a Mon Sep 17 00:00:00 2001 From: David Maciejak Date: Wed, 25 Mar 2020 23:12:09 +0800 Subject: [PATCH] Fix typo Renamed isPointNearBoder() function --- src/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu.c b/src/menu.c index 130fe136..d47c5449 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1519,7 +1519,7 @@ static void scrollMenuCallback(void *data) #define MENU_SCROLL_BORDER 5 -static int isPointNearBoder(WMenu * menu, int x, int y) +static int isPointNearBorder(WMenu * menu, int x, int y) { int menuX1 = menu->frame_x; int menuY1 = menu->frame_y; @@ -1598,7 +1598,7 @@ void wMenuScroll(WMenu *menu) /* on_border is != 0 if the pointer is between the menu * and the screen border and is close enough to the border */ - on_border = isPointNearBoder(menu, x, y); + on_border = isPointNearBorder(menu, x, y); smenu = wMenuUnderPointer(scr);