diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-17 10:28:55 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-17 10:28:55 +0000 |
commit | 417e87f740ac4d85234428776a69e163d33517bd (patch) | |
tree | 9f45a4b095479f9ca544ff3abb716d5aefc15eb1 /contrib/dialog/mousewget.c | |
parent | f7c70f4181a12b76d1a7454b166af41fb2cabe98 (diff) | |
parent | 2b5579c9bdbbca29e7b2df1ee9a9e5d1cce2b06f (diff) | |
download | FreeBSD-src-417e87f740ac4d85234428776a69e163d33517bd.zip FreeBSD-src-417e87f740ac4d85234428776a69e163d33517bd.tar.gz |
Update dialog to 1.2-20130523
Level up WARNS
Diffstat (limited to 'contrib/dialog/mousewget.c')
-rw-r--r-- | contrib/dialog/mousewget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dialog/mousewget.c b/contrib/dialog/mousewget.c index 13a021b..6f5b043 100644 --- a/contrib/dialog/mousewget.c +++ b/contrib/dialog/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; |