Commit 1c27d3e8 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
......@@ -2972,8 +2972,12 @@ int main(int argc, char *argv[])
}
#ifndef USE_SLANG
/* Hack, make insert key do something useful, like insert file */
if (kbinput == KEY_IC) {
#else
if (0) {
#endif
do_insertkey:
#ifdef ENABLE_MULTIBUFFER
......@@ -2982,7 +2986,7 @@ int main(int argc, char *argv[])
do_insertfile(0);
#endif
keyhandled = 1;
keyhandled = 1;
}
/* Last gasp, stuff that's not in the main lists */
......
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