diff options
-rw-r--r-- | source/rofi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c index 486eb5e1..845ca194 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1659,7 +1659,7 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom state.retv = MENU_OK; } } - else if ( rc == -2 ) { + else if ( strlen( state.text->text) > 0 ) { state.retv = MENU_CUSTOM_INPUT; } else{ |