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
7c41c864
Commit
7c41c864
authored
7 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: remove unneeded braces, and mark empty parameter list as void
This matches the style in the rest of the code.
parent
6295cca0
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/prompt.c
+2
-2
src/prompt.c
src/text.c
+1
-1
src/text.c
with
3 additions
and
3 deletions
+3
-3
src/prompt.c
View file @
7c41c864
...
...
@@ -137,9 +137,9 @@ int do_statusbar_input(bool *ran_func, bool *finished)
s
->
scfunc
==
do_delete
||
s
->
scfunc
==
do_backspace
))
;
else
if
(
s
->
scfunc
==
do_verbatim_input
)
{
else
if
(
s
->
scfunc
==
do_verbatim_input
)
do_statusbar_verbatim_input
();
}
else
if
(
s
->
scfunc
==
do_cut_text_void
)
else
if
(
s
->
scfunc
==
do_cut_text_void
)
do_statusbar_cut_text
();
else
if
(
s
->
scfunc
==
do_delete
)
do_statusbar_delete
();
...
...
This diff is collapsed.
Click to expand it.
src/text.c
View file @
7c41c864
...
...
@@ -456,7 +456,7 @@ bool white_string(const char *s)
#ifdef ENABLE_COMMENT
/* Comment or uncomment the current line or the marked lines. */
void
do_comment
()
void
do_comment
(
void
)
{
const
char
*
comment_seq
=
GENERAL_COMMENT_CHARACTER
;
undo_type
action
=
UNCOMMENT
;
...
...
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