diff --git a/src/kits/locale/EditableCatalog.cpp b/src/kits/locale/EditableCatalog.cpp index b678dab47f..b216dd8098 100644 --- a/src/kits/locale/EditableCatalog.cpp +++ b/src/kits/locale/EditableCatalog.cpp @@ -140,7 +140,7 @@ EditableCatalog::WriteToResource(const entry_ref& appOrAddOnRef) void EditableCatalog::MakeEmpty() { - if (fCatalogData == NULL) + if (fCatalogData != NULL) fCatalogData->MakeEmpty(); }