Some code improvements
This commit is contained in:
parent
745e3677ed
commit
01a4fb9db7
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue