mirror of https://github.com/davatorium/rofi.git
No need to check nullptr on nonnull argument.
This commit is contained in:
parent
444d09b905
commit
7322819a1d
|
@ -961,7 +961,7 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom
|
||||||
( config.padding ),
|
( config.padding ),
|
||||||
entrybox_width, 0,
|
entrybox_width, 0,
|
||||||
NORMAL,
|
NORMAL,
|
||||||
( input != NULL ) ? *input : "" );
|
*input );
|
||||||
// Move indicator to end.
|
// Move indicator to end.
|
||||||
textbox_move ( state.case_indicator,
|
textbox_move ( state.case_indicator,
|
||||||
config.padding + textbox_get_width ( state.prompt_tb ) + entrybox_width,
|
config.padding + textbox_get_width ( state.prompt_tb ) + entrybox_width,
|
||||||
|
|
Loading…
Reference in New Issue