No need to check nullptr on nonnull argument.

This commit is contained in:
QC 2015-03-06 20:38:11 +01:00
parent 444d09b905
commit 7322819a1d
1 changed files with 1 additions and 1 deletions

View File

@ -961,7 +961,7 @@ MenuReturn menu ( char **lines, unsigned int num_lines, char **input, char *prom
( config.padding ),
entrybox_width, 0,
NORMAL,
( input != NULL ) ? *input : "" );
*input );
// Move indicator to end.
textbox_move ( state.case_indicator,
config.padding + textbox_get_width ( state.prompt_tb ) + entrybox_width,