$OpenBSD: patch-mutella_property_cpp,v 1.1 2018/04/13 15:19:29 jasper Exp $

Index: mutella/property.cpp
--- mutella/property.cpp.orig
+++ mutella/property.cpp
@@ -510,7 +510,7 @@ MProperty* MPropertyContainer::AddNewProperty(LPCSTR s
 MProperty* MPropertyContainer::AddSet(LPCSTR szName, MPropertySet* pSet)
 {
 	if (FindProperty(szName))
-		return false;
+		return NULL;
 	MProperty* pP = new TProperty<MPropertySet,PT_SET>(szName, pSet);
 	ASSERT(pP);
 	m_props[szName] = pP;
@@ -522,7 +522,7 @@ MProperty* MPropertyContainer::AddSet(LPCSTR szName, M
 MProperty* MPropertyContainer::AddSet(LPCSTR szName, MPropertySet* pSet, LPCSTR szSetInit)
 {
 	if (FindProperty(szName))
-		return false;
+		return NULL;
 	MProperty* pP = new TProperty<MPropertySet,PT_SET>(szName, pSet);
 	ASSERT(pP);
 	m_props[szName] = pP;
