Commit 5198c1f1 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: frob a couple of comments

parent 1e292141
Showing with 6 additions and 7 deletions
+6 -7
...@@ -1627,7 +1627,7 @@ ...@@ -1627,7 +1627,7 @@
2000.02.02 - Okay, I hate to go back on what I said in the last release, 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 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, expect things to settle down by the end of next week,
and then I can try to start on the i18n support and help 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 menu; look for these new features in version 0.8.5 to
......
...@@ -397,7 +397,7 @@ size_t move_mbleft(const char *buf, size_t pos) ...@@ -397,7 +397,7 @@ size_t move_mbleft(const char *buf, size_t pos)
} }
/* Move forward again until we reach the original character, /* 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) { while (before < pos) {
char_len = parse_mbchar(buf + before, NULL, NULL); char_len = parse_mbchar(buf + before, NULL, NULL);
before += char_len; before += char_len;
......
...@@ -1048,7 +1048,7 @@ void do_insertfile(void) ...@@ -1048,7 +1048,7 @@ void do_insertfile(void)
#endif #endif
msg = _("Command to execute"); msg = _("Command to execute");
} else } else
#endif /* NANO_TINY */ #endif
{ {
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
if (ISSET(MULTIBUFFER)) if (ISSET(MULTIBUFFER))
...@@ -1089,7 +1089,7 @@ void do_insertfile(void) ...@@ -1089,7 +1089,7 @@ void do_insertfile(void)
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
if (func == flip_newbuffer) { if (func == flip_newbuffer) {
/* Don't allow toggling when in view mode. */ /* Allow toggling only when not in view mode. */
if (!ISSET(VIEW_MODE)) if (!ISSET(VIEW_MODE))
TOGGLE(MULTIBUFFER); TOGGLE(MULTIBUFFER);
else else
...@@ -1149,11 +1149,10 @@ void do_insertfile(void) ...@@ -1149,11 +1149,10 @@ void do_insertfile(void)
} else } else
#endif /* !NANO_TINY */ #endif /* !NANO_TINY */
{ {
/* Make sure the path to the file specified in answer is /* Make sure the specified path is tilde-expanded. */
* tilde-expanded. */
answer = free_and_assign(answer, real_dir_from_tilde(answer)); 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); open_buffer(answer, TRUE);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment