Signed-off-by: 李铁块 <likeji1@huawei.com>
This commit is contained in:
李铁块 2024-06-14 11:26:56 +08:00
parent 9dc30e087b
commit b1d117ed86

View File

@ -3636,8 +3636,8 @@ std::string RSProperties::Dump() const
}
auto foregroundFilterCache_ = GetForegroundFilterCache();
if (foregroundFilterCache_ && foregroundFilterCache_->IsValid() &&
sprintf_s(buffer, UINT8_MAX, ", ForegroundFilter[%s]", foregroundFilterCache_->GetDescription().c_str()) !=
-1) {
sprintf_s(buffer, UINT8_MAX, ", ForegroundFilter[%s]", foregroundFilterCache_->GetDescription().c_str()) != -1)
{
dumpInfo.append(buffer);
}