Commit 03c3e2b7 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

tweaks: fix several whitespace irregularities

Add missing spaces, remove excess spaces, and
replace groups of indentation spaces with tabs.
parent 4953dcec
Showing with 30 additions and 31 deletions
+30 -31
...@@ -728,7 +728,7 @@ void shortcut_init(void) ...@@ -728,7 +728,7 @@ void shortcut_init(void)
add_to_funcs(do_research, MHELP, whereis_next_tag, "x", 0, VIEW); add_to_funcs(do_research, MHELP, whereis_next_tag, "x", 0, VIEW);
add_to_funcs(do_up_void, MHELP, prev_line_tag, "x", 0, VIEW); add_to_funcs(do_up_void, MHELP, prev_line_tag, "x", 0, VIEW);
add_to_funcs(do_down_void, MHELP, next_line_tag, "x" , 0, VIEW); add_to_funcs(do_down_void, MHELP, next_line_tag, "x", 0, VIEW);
#endif #endif
add_to_funcs(do_cut_text_void, MMAIN, add_to_funcs(do_cut_text_void, MMAIN,
......
...@@ -1386,7 +1386,7 @@ void do_toggle(int flag) ...@@ -1386,7 +1386,7 @@ void do_toggle(int flag)
case MORE_SPACE: case MORE_SPACE:
case NO_HELP: case NO_HELP:
window_init(); window_init();
focusing=FALSE; focusing = FALSE;
total_refresh(); total_refresh();
break; break;
case SUSPEND: case SUSPEND:
......
...@@ -77,8 +77,7 @@ int digits(ssize_t n) ...@@ -77,8 +77,7 @@ int digits(ssize_t n)
return 6; return 6;
else else
return 7; return 7;
} } else {
else {
if (n < 100000000) if (n < 100000000)
return 8; return 8;
else else
......
...@@ -2014,7 +2014,7 @@ void titlebar(const char *path) ...@@ -2014,7 +2014,7 @@ void titlebar(const char *path)
prefixlen = strlenpt(prefix); prefixlen = strlenpt(prefix);
if (prefixlen > 0) if (prefixlen > 0)
prefixlen++; prefixlen++;
pathlen= strlenpt(path); pathlen = strlenpt(path);
statelen = strlenpt(state) + 2; statelen = strlenpt(state) + 2;
if (statelen > 2) { if (statelen > 2) {
pathlen++; pathlen++;
......
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