summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-12-13 19:21:06 +0100
committerDave Davenport <qball@gmpclient.org>2015-12-13 19:21:06 +0100
commit2d354b3b3fae31868ff94c287d44fa0126d9a238 (patch)
tree5c68a6e0bd53353369ff110e1c2d4d12b2990412 /source
parent97fa0cc61d26be6b28bd615f12575b4004cc02a5 (diff)
Re-indent
Diffstat (limited to 'source')
-rw-r--r--source/rofi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rofi.c b/source/rofi.c
index d2c429db..edf16631 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1382,7 +1382,7 @@ MenuReturn menu ( Mode *sw, char **input, char *prompt, unsigned int *selected_l
state.element_width, element_height, NORMAL, "" );
}
if ( !config.hide_scrollbar ) {
- unsigned int sbw = config.line_margin+config.scrollbar_width;
+ unsigned int sbw = config.line_margin + config.scrollbar_width;
state.scrollbar = scrollbar_create ( state.w - state.border - sbw, state.top_offset,
sbw, ( state.max_rows - 1 ) * ( element_height + config.line_margin ) + element_height );
}
@@ -1565,8 +1565,8 @@ MenuReturn menu ( Mode *sw, char **input, char *prompt, unsigned int *selected_l
}
if ( abe_test_action ( TOGGLE_SORT, ev.xkey.state, key ) ) {
config.levenshtein_sort = !config.levenshtein_sort;
- state.refilter = TRUE;
- state.update = TRUE;
+ state.refilter = TRUE;
+ state.update = TRUE;
break;
}
else if ( abe_test_action ( MODE_PREVIOUS, ev.xkey.state, key ) ) {