tweaks: normalize whitespace, drop unneeded prototype, condense comment

This commit is contained in:
Benno Schulenberg 2021-11-07 15:51:32 +01:00
parent 167c93b85c
commit 308d6e73e3
3 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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);

View File

@ -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;