tweaks: normalize whitespace, drop unneeded prototype, condense comment
parent
167c93b85c
commit
308d6e73e3
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue