tweaks: remove unneeded braces, and mark empty parameter list as void
This matches the style in the rest of the code.master
parent
6295cca03b
commit
7c41c8641f
|
@ -137,9 +137,9 @@ int do_statusbar_input(bool *ran_func, bool *finished)
|
||||||
s->scfunc == do_delete ||
|
s->scfunc == do_delete ||
|
||||||
s->scfunc == do_backspace))
|
s->scfunc == do_backspace))
|
||||||
;
|
;
|
||||||
else if (s->scfunc == do_verbatim_input) {
|
else if (s->scfunc == do_verbatim_input)
|
||||||
do_statusbar_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();
|
do_statusbar_cut_text();
|
||||||
else if (s->scfunc == do_delete)
|
else if (s->scfunc == do_delete)
|
||||||
do_statusbar_delete();
|
do_statusbar_delete();
|
||||||
|
|
|
@ -456,7 +456,7 @@ bool white_string(const char *s)
|
||||||
|
|
||||||
#ifdef ENABLE_COMMENT
|
#ifdef ENABLE_COMMENT
|
||||||
/* Comment or uncomment the current line or the marked lines. */
|
/* Comment or uncomment the current line or the marked lines. */
|
||||||
void do_comment()
|
void do_comment(void)
|
||||||
{
|
{
|
||||||
const char *comment_seq = GENERAL_COMMENT_CHARACTER;
|
const char *comment_seq = GENERAL_COMMENT_CHARACTER;
|
||||||
undo_type action = UNCOMMENT;
|
undo_type action = UNCOMMENT;
|
||||||
|
|
Loading…
Reference in New Issue