nano.c:main() - Fix the KEY_IC being undefined when using slang

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@808 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2001-10-02 02:56:45 +00:00
parent 7fdbd05b41
commit 1c27d3e875
1 changed files with 5 additions and 1 deletions

4
nano.c
View File

@ -2972,8 +2972,12 @@ int main(int argc, char *argv[])
} }
#ifndef USE_SLANG
/* Hack, make insert key do something useful, like insert file */ /* Hack, make insert key do something useful, like insert file */
if (kbinput == KEY_IC) { if (kbinput == KEY_IC) {
#else
if (0) {
#endif
do_insertkey: do_insertkey:
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER