int; fix bad code due to the latter assumption
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2214
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
#ifndef DISABLE_MOUSE
/* If we got a mouse click and it was on a shortcut, read in the
* shortcut character. */
- if (allow_funcs && func_key && input == KEY_MOUSE) {
+ if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) {
if (do_mouse())
input = get_kbinput(edit, meta_key, func_key);
else
#ifndef DISABLE_MOUSE
/* If we got a mouse click and it was on a shortcut, read in the
* shortcut character. */
- if (allow_funcs && func_key && input == KEY_MOUSE) {
+ if (allow_funcs && *func_key == TRUE && input == KEY_MOUSE) {
if (do_mouse())
input = get_kbinput(bottomwin, meta_key, func_key);
else