1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00

Remove pointless else if statement

This commit is contained in:
Dave Davenport 2016-03-19 12:21:08 +01:00
parent f5231ca24d
commit 1f8db0fc5a

View file

@ -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;