Commit 9133cbe2 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

add missing #ifdef

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -1319,10 +1319,12 @@ int do_input(bool *meta_key, bool *func_key, bool *s_or_t, bool
* empty. Note that it should be empty if we're in view
* mode. */
if (*s_or_t == TRUE || get_key_buffer_len() == 0) {
#ifndef DISABLE_WRAPPING
/* If we got a shortcut or toggle, turn off prepending of
* wrapped text. */
if (*s_or_t == TRUE)
wrap_reset();
#endif
if (kbinput != NULL) {
/* Display all the characters in the input buffer at
......
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