diff --git a/esp/smc/SMCLib/TpWrapper.cpp b/esp/smc/SMCLib/TpWrapper.cpp index e51c5401c2f..7e420fc03bd 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("","");