This commit is contained in:
Brian Ferguson 2012-09-04 09:38:11 -06:00
parent 42061a7b66
commit 2b30e0eead

View File

@ -246,7 +246,7 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
int flags = PCRE_UTF8; int flags = PCRE_UTF8;
int offset = 0; int offset = 0;
if (m_Substitute[i] == L"") if (m_Substitute[i].empty())
{ {
m_Substitute[i] = L"^$"; m_Substitute[i] = L"^$";
} }