Some code improvements

This commit is contained in:
Markus Gans 2017-09-11 03:48:21 +02:00
parent 745e3677ed
commit 01a4fb9db7
1 changed files with 1 additions and 1 deletions

View File

@ -789,7 +789,7 @@ void FFileDialog::cb_processActivate (FWidget*, data_ptr)
while ( iter != end )
{
if ( (*iter).name && ! input.isNull()
if ( (*iter).name && input && ! input.isNull()
&& std::strcmp((*iter).name, input) == 0
&& (*iter).type == DT_DIR )
{