tweaks: frob a couple of comments

This commit is contained in:
Benno Schulenberg 2017-11-12 20:08:28 +01:00
parent 1e292141f3
commit 5198c1f139
3 changed files with 6 additions and 7 deletions

2
NEWS
View File

@ -1627,7 +1627,7 @@
2000.02.02 - Okay, I hate to go back on what I said in the last release,
but I may be changing jobs very soon. I will release
version 0.8.2 as is (no i18n, no help menu (yet). I
version 0.8.2 as is (no i18n, no help menu (yet)). I
expect things to settle down by the end of next week,
and then I can try to start on the i18n support and help
menu; look for these new features in version 0.8.5 to

View File

@ -397,7 +397,7 @@ size_t move_mbleft(const char *buf, size_t pos)
}
/* Move forward again until we reach the original character,
* so we know the length of its preceding the character. */
* so we know the length of its preceding character. */
while (before < pos) {
char_len = parse_mbchar(buf + before, NULL, NULL);
before += char_len;

View File

@ -1048,7 +1048,7 @@ void do_insertfile(void)
#endif
msg = _("Command to execute");
} else
#endif /* NANO_TINY */
#endif
{
#ifdef ENABLE_MULTIBUFFER
if (ISSET(MULTIBUFFER))
@ -1089,7 +1089,7 @@ void do_insertfile(void)
#ifdef ENABLE_MULTIBUFFER
if (func == flip_newbuffer) {
/* Don't allow toggling when in view mode. */
/* Allow toggling only when not in view mode. */
if (!ISSET(VIEW_MODE))
TOGGLE(MULTIBUFFER);
else
@ -1149,11 +1149,10 @@ void do_insertfile(void)
} else
#endif /* !NANO_TINY */
{
/* Make sure the path to the file specified in answer is
* tilde-expanded. */
/* Make sure the specified path is tilde-expanded. */
answer = free_and_assign(answer, real_dir_from_tilde(answer));
/* Save the file specified in answer in the current buffer. */
/* Read the specified file into the current buffer. */
open_buffer(answer, TRUE);
}