Fixing compilation with --enable-wrapping.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4730 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
96c95cd6a1
commit
b115aab586
|
@ -18,6 +18,7 @@
|
|||
* src/prompt.c (get_prompt_string): Fix compilation for the
|
||||
combination of --enable-tiny with --enable-tabcomp.
|
||||
* src/prompt.c (get_prompt_string): Normalize the indentation.
|
||||
* src/text.c (do_wrap): Fix compilation with --enable-wrapping.
|
||||
|
||||
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
|
||||
* configure.ac: Remove unused '*_support' variables.
|
||||
|
|
|
@ -1273,8 +1273,10 @@ bool do_wrap(filestruct *line, bool undoing)
|
|||
null_at(&line->data, wrap_loc);
|
||||
|
||||
if (prepending) {
|
||||
#ifndef NANO_TINY
|
||||
if (!undoing)
|
||||
update_undo(SPLIT);
|
||||
#endif
|
||||
/* If we're prepending, copy the text from the next line, minus
|
||||
* the indentation that we already copied above. */
|
||||
strcat(new_line, next_line);
|
||||
|
|
Loading…
Reference in New Issue