diff options
Diffstat (limited to 'contrib/less/decode.c')
-rw-r--r-- | contrib/less/decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/less/decode.c b/contrib/less/decode.c index 1737327855fd..fd63e5ac353e 100644 --- a/contrib/less/decode.c +++ b/contrib/less/decode.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2002 Mark Nudelman + * Copyright (C) 1984-2004 Mark Nudelman * * You may distribute under the terms of either the GNU General Public * License or the Less License, as specified in the README file. @@ -34,7 +34,7 @@ #include "cmd.h" #include "lesskey.h" -extern int erase_char, kill_char; +extern int erase_char, erase2_char, kill_char; extern int secure; #define SK(k) \ @@ -754,7 +754,7 @@ editchar(c, flags) * but give it the edit-commands command table * This table is constructed to match the user's keyboard. */ - if (c == erase_char) + if (c == erase_char || c == erase2_char) return (EC_BACKSPACE); if (c == kill_char) return (EC_LINEKILL); |