Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
5198c1f1
Commit
5198c1f1
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: frob a couple of comments
parent
1e292141
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS
+1
-1
NEWS
src/chars.c
+1
-1
src/chars.c
src/files.c
+4
-5
src/files.c
with
6 additions
and
7 deletions
+6
-7
NEWS
View file @
5198c1f1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/chars.c
View file @
5198c1f1
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
src/files.c
View file @
5198c1f1
...
...
@@ -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 a
llow toggling
when
in view mode. */
/*
A
llow 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 fil
e specified
in answer
in the current buffer. */
/*
Read th
e specified
file
in
to
the current buffer. */
open_buffer
(
answer
,
TRUE
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help