diff --git a/Library/Measure.cpp b/Library/Measure.cpp index d7a6980a..8b8681d2 100644 --- a/Library/Measure.cpp +++ b/Library/Measure.cpp @@ -246,7 +246,7 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer) int flags = PCRE_UTF8; int offset = 0; - if (m_Substitute[i] == L"") + if (m_Substitute[i].empty()) { m_Substitute[i] = L"^$"; }