Commit 1f5cf0d1 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3597 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 2888964c
Showing with 4 additions and 4 deletions
+4 -4
......@@ -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;
}
}
......
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment