From e61d784b6413a1dccb36685229ae53a7c983091c Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 19 Oct 2019 09:05:03 +1100 Subject: [PATCH] Fix webclient not compiling --- src/Input.c | 2 +- src/Menus.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Input.c b/src/Input.c index e52ef49d7..4c6b6a297 100644 --- a/src/Input.c +++ b/src/Input.c @@ -80,7 +80,7 @@ void Input_AddTouch(long id, int x, int y) { Pointer_SetPressed(i, true); } -static bool MovedFromBeg(int i, int x, int y) { +static cc_bool MovedFromBeg(int i, int x, int y) { return Math_AbsI(x - touches[i].begX) > Display_ScaleX(5) || Math_AbsI(y - touches[i].begY) > Display_ScaleY(5); } diff --git a/src/Menus.c b/src/Menus.c index 36384f9b0..b4b988376 100644 --- a/src/Menus.c +++ b/src/Menus.c @@ -884,7 +884,6 @@ static void EditHotkeyScreen_Init(void* screen) { Menu_Back(s, 5, &s->cancel, Menu_SwitchHotkeys); Window_OpenKeyboard(); } -static void SaveLevelScreen_Free(void* s) { Window_CloseKeyboard(); } static const struct ScreenVTABLE EditHotkeyScreen_VTABLE = { EditHotkeyScreen_Init, EditHotkeyScreen_Render, Menu_CloseKeyboard,