mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Set ignoredFiles only if ignore_files was specified
This fixes a crash that would occur due to a NULL string
This commit is contained in:
parent
614ed6e632
commit
05d304dfc3
1 changed files with 4 additions and 2 deletions
|
@ -104,8 +104,10 @@ void FilePickerClass::Initialize(
|
|||
currentDirectory += "/";
|
||||
}
|
||||
|
||||
extension = ext;
|
||||
ignoredFiles = ignore_files;
|
||||
extension = ext;
|
||||
if (ignore_files) {
|
||||
ignoredFiles = ignore_files;
|
||||
}
|
||||
|
||||
SetupFiles();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue