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