tweaks: add Schiermonnikoog to the list of friendly islands

(The commit message is a joke, of course.  Instead, this commit just
removes some unneeded comments and corrects one bit of whitespace.)
master
Benno Schulenberg 2021-06-16 11:19:23 +02:00
parent 4f981cd5d9
commit 3c35538e8b
6 changed files with 8 additions and 8 deletions

View File

@ -644,7 +644,7 @@ bool has_blank_char(const char *string)
return *string; return *string;
} }
#endif /* ENABLE_NANORC && (!NANO_TINY || ENABLE_JUSTIFY) */ #endif
/* Return TRUE when the given string is empty or consists of only blanks. */ /* Return TRUE when the given string is empty or consists of only blanks. */
bool white_string(const char *string) bool white_string(const char *string)

View File

@ -310,7 +310,7 @@ void help_init(void)
} }
} }
} }
#endif /* !NANO_TINY */ #endif
} }
/* Hard-wrap the concatenated help text, and write it into a new buffer. */ /* Hard-wrap the concatenated help text, and write it into a new buffer. */

View File

@ -1094,7 +1094,7 @@ void do_toggle(int flag)
if (flag == AUTOINDENT || flag == BREAK_LONG_LINES || flag == SOFTWRAP) if (flag == AUTOINDENT || flag == BREAK_LONG_LINES || flag == SOFTWRAP)
titlebar(NULL); titlebar(NULL);
if (ISSET(MINIBAR) && (flag == NO_HELP || flag == LINE_NUMBERS )) if (ISSET(MINIBAR) && (flag == NO_HELP || flag == LINE_NUMBERS))
return; return;
if (flag == CONSTANT_SHOW) if (flag == CONSTANT_SHOW)
@ -2203,7 +2203,7 @@ int main(int argc, char **argv)
load_history(); load_history();
if (ISSET(POSITIONLOG)) if (ISSET(POSITIONLOG))
load_poshistory(); load_poshistory();
#endif /* ENABLE_HISTORIES */ #endif
#ifndef NANO_TINY #ifndef NANO_TINY
/* If a backup directory was specified and we're not in restricted mode, /* If a backup directory was specified and we're not in restricted mode,
@ -2237,7 +2237,7 @@ int main(int argc, char **argv)
die(_("Bad quoting regex \"%s\": %s\n"), quotestr, message); die(_("Bad quoting regex \"%s\": %s\n"), quotestr, message);
} else } else
free(quotestr); free(quotestr);
#endif /* ENABLE_JUSTIFY */ #endif
#ifdef ENABLE_SPELLER #ifdef ENABLE_SPELLER
/* If we don't have an alternative spell checker after reading the /* If we don't have an alternative spell checker after reading the

View File

@ -766,7 +766,7 @@ int do_yesno_prompt(bool all, const char *msg)
choice = -2; choice = -2;
} }
} }
#endif /* ENABLE_MOUSE */ #endif
else if (func_from_key(&kbinput) == full_refresh) else if (func_from_key(&kbinput) == full_refresh)
full_refresh(); full_refresh();
#ifndef NANO_TINY #ifndef NANO_TINY

View File

@ -550,7 +550,7 @@ ssize_t do_replace_loop(const char *needle, bool whole_word_only,
openfile->current_x = bot_x; openfile->current_x = bot_x;
} }
} }
#endif /* !NANO_TINY */ #endif
came_full_circle = FALSE; came_full_circle = FALSE;

View File

@ -58,7 +58,7 @@ void do_mark(void)
refresh_needed = TRUE; refresh_needed = TRUE;
} }
} }
#endif /* !NANO_TINY */ #endif
/* Insert a tab. Or, if --tabstospaces is in effect, insert the number /* Insert a tab. Or, if --tabstospaces is in effect, insert the number
* of spaces that a tab would normally take up at this position. */ * of spaces that a tab would normally take up at this position. */