diff --git a/src/nano.c b/src/nano.c index 51b3bad2..f7d03565 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1097,7 +1097,7 @@ void do_toggle(int flag) } if (ISSET(STATEFLAGS) && (flag == AUTOINDENT || - flag == BREAK_LONG_LINES || flag == SOFTWRAP)) { + flag == BREAK_LONG_LINES || flag == SOFTWRAP)) { if (ISSET(MINIBAR)) return; else diff --git a/src/prototypes.h b/src/prototypes.h index bf99c8ef..59fd0c63 100644 --- a/src/prototypes.h +++ b/src/prototypes.h @@ -412,7 +412,6 @@ void block_sigwinch(bool blockit); #ifndef NANO_TINY void handle_sigwinch(int signal); void regenerate_screen(void); -void do_toggle(int flag); #endif void disable_kb_interrupt(void); void enable_kb_interrupt(void); diff --git a/src/text.c b/src/text.c index bb5625e8..5a74c195 100644 --- a/src/text.c +++ b/src/text.c @@ -1465,8 +1465,7 @@ bool begpar(const linestruct *const line, int depth) { size_t quot_len, indent_len, prev_dent_len; - /* If this is the very first line of the buffer, it counts as a BOP - * even when it contains no text. */ + /* The very first line counts as a BOP, even when it contains no text. */ if (line->prev == NULL) return TRUE;