redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-06-01 01:15:06 +00:00
parent 2888964c76
commit 1f5cf0d111
2 changed files with 4 additions and 4 deletions

View File

@ -1303,8 +1303,8 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool
if (is_ascii_cntrl_char(input) || *meta_key == TRUE ||
*func_key == TRUE) {
statusbar(_("Unknown Command"));
if (*meta_key == TRUE)
*meta_key = FALSE;
*meta_key = FALSE;
*func_key = FALSE;
input = ERR;
}
}

View File

@ -105,8 +105,8 @@ int do_statusbar_input(bool *meta_key, bool *func_key, bool *s_or_t,
if (*s_or_t == FALSE) {
if (is_ascii_cntrl_char(input) || *meta_key == TRUE ||
*func_key == TRUE) {
if (*meta_key == TRUE)
*meta_key = FALSE;
*meta_key = FALSE;
*func_key = FALSE;
input = ERR;
}
}