Fix: Dereference of null pointer in ffiledialog.cpp
This commit is contained in:
parent
7ead64f2b8
commit
62e00b69fc
|
@ -753,7 +753,9 @@ void FFileDialog::cb_processActivate (FWidget*, data_ptr)
|
||||||
|
|
||||||
while ( iter != end )
|
while ( iter != end )
|
||||||
{
|
{
|
||||||
if ( std::strcmp((*iter).name, input) == 0 && (*iter).type == DT_DIR )
|
if ( (*iter).name
|
||||||
|
&& std::strcmp((*iter).name, input) == 0
|
||||||
|
&& (*iter).type == DT_DIR )
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
changeDir(input);
|
changeDir(input);
|
||||||
|
|
Loading…
Reference in New Issue