summaryrefslogtreecommitdiff
path: root/mousewget.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-17 10:00:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-17 10:00:48 +0000
commitc1ba58ff2b09604bd03d15a844fb5c09e2e38ef6 (patch)
treed48b8f5f4c81e26e8dbb6597554286f1d6d53d3a /mousewget.c
parent5f120a342bce9d4f0afede0510bdd9adc5bcc061 (diff)
Notes
Diffstat (limited to 'mousewget.c')
-rw-r--r--mousewget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mousewget.c b/mousewget.c
index 13a021bfc029..6f5b04356c7d 100644
--- a/mousewget.c
+++ b/mousewget.c
@@ -1,9 +1,9 @@
/*
- * $Id: mousewget.c,v 1.21 2008/03/16 20:09:03 tom Exp $
+ * $Id: mousewget.c,v 1.22 2012/11/30 10:23:49 tom Exp $
*
* mousewget.c -- mouse/wgetch support for dialog
*
- * Copyright 2000-2006,2008 Thomas E. Dickey
+ * Copyright 2000-2008,2012 Thomas E. Dickey
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License, version 2.1
@@ -37,7 +37,7 @@ mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs)
#if USE_MOUSE
mouse_err = FALSE;
- if (fkey && (key == KEY_MOUSE)) {
+ if (key == KEY_MOUSE) {
MEVENT event;
mseRegion *p;