diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-03-19 12:21:08 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-03-19 12:21:08 +0100 |
commit | 1f8db0fc5a1da29346119937da5fe559469af2bc (patch) | |
tree | 955bdfcc41d77dd13fc0d9654caa91645037df22 /source/view.c | |
parent | f5231ca24ddb042b22b8cd2b17f5fda76fe21876 (diff) |
Remove pointless else if statement
Diffstat (limited to 'source/view.c')
-rw-r--r-- | source/view.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/view.c b/source/view.c index 4544d3ed..bfdc19a4 100644 --- a/source/view.c +++ b/source/view.c @@ -1421,9 +1421,6 @@ static void rofi_view_mainloop_iter ( RofiViewState *state, xcb_generic_event_t state->retv = MENU_OK; } } - else if ( state->text->text != NULL && strlen ( state->text->text ) > 0 ) { - state->retv = MENU_CUSTOM_INPUT; - } else{ // Nothing entered and nothing selected. state->retv = MENU_CUSTOM_INPUT; |