From e27a95dabe860a684b51a3228f3794c8f9dad952 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Tue, 22 Mar 2016 19:51:05 +0900 Subject: Fix build failure when not USE_MOUSE for sgrmouse cf. https://twitter.com/naota344/status/711541592167854081 --- menu.c | 6 ++++++ proto.h | 1 + 2 files changed, 7 insertions(+) diff --git a/menu.c b/menu.c index 11a5369..0f622c1 100644 --- a/menu.c +++ b/menu.c @@ -1304,6 +1304,12 @@ mMouse(char c) { return (MENU_NOTHING); } + +static int +mSgrMouse(char c) +{ + return (MENU_NOTHING); +} #endif /* not USE_MOUSE */ /* --- MenuFunctions (END) --- */ diff --git a/proto.h b/proto.h index 0d8beb5..d744e14 100644 --- a/proto.h +++ b/proto.h @@ -724,6 +724,7 @@ extern void tabMs(void); extern void closeTMs(void); #else /* not USE_MOUSE */ #define mouse nulcmd +#define sgrmouse nulcmd #define msToggle nulcmd #define movMs nulcmd #define menuMs nulcmd -- cgit v1.2.3