diff --git a/esp/smc/SMCLib/TpWrapper.cpp b/esp/smc/SMCLib/TpWrapper.cpp index 819a5f1e4a3..b4c054a6714 100644 --- a/esp/smc/SMCLib/TpWrapper.cpp +++ b/esp/smc/SMCLib/TpWrapper.cpp @@ -1217,7 +1217,7 @@ void CTpWrapper::getGroupList(double espVersion, const char* kindReq, IArrayOfquery(); const char* kind = group.queryProp("@kind"); - if (kindReq && *kindReq && !strieq(kindReq, kind)) + if (!isEmptyString(kindReq) && !strisame(kindReq, kind)) continue; IEspTpGroup* pGroup = createTpGroup("","");