Fix "Called C++ object pointer is null" for EditableCatalog.cpp
Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
This commit is contained in:
parent
4ba4d40bb2
commit
e5ab37ae70
@ -140,7 +140,7 @@ EditableCatalog::WriteToResource(const entry_ref& appOrAddOnRef)
|
||||
|
||||
void EditableCatalog::MakeEmpty()
|
||||
{
|
||||
if (fCatalogData == NULL)
|
||||
if (fCatalogData != NULL)
|
||||
fCatalogData->MakeEmpty();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user