X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3013b6f46099b8cf0d2f9f656e883e4606ca833d..6dc34ebbd8f787eb42018df5b5fb938c1c7390aa:/utils/wxprop/src/prop.cpp?ds=sidebyside diff --git a/utils/wxprop/src/prop.cpp b/utils/wxprop/src/prop.cpp index c4fe282348..59802962de 100644 --- a/utils/wxprop/src/prop.cpp +++ b/utils/wxprop/src/prop.cpp @@ -382,7 +382,7 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom) case wxPropertyValueStringPtr: { char** s = copyFrom.StringValuePtr(); - (*this) = s; + (*this) = s != 0; return ; }