aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-03-22 10:51:05 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-03-22 11:09:26 +0000
commite27a95dabe860a684b51a3228f3794c8f9dad952 (patch)
tree124f0f45659d10f08ed92b5cd67c62fd7843db8d
parentUpdate ChangeLog (diff)
downloadw3m-e27a95dabe860a684b51a3228f3794c8f9dad952.tar.gz
w3m-e27a95dabe860a684b51a3228f3794c8f9dad952.zip
Fix build failure when not USE_MOUSE for sgrmouse
cf. https://twitter.com/naota344/status/711541592167854081
Diffstat (limited to '')
-rw-r--r--menu.c6
-rw-r--r--proto.h1
2 files changed, 7 insertions, 0 deletions
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