Commit cd6acd9f authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

коррекция под WIN32

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59076 954022d7-b5bf-4e40-9824-e11837661b57
parent 47b75d6f
......@@ -136,8 +136,14 @@ namespace NSFontCutter
for (int i = 0; i < len; ++i)
{
m_CharMap [str_lower.c_str()[i]] = TRUE;
#ifdef WIN32
m_CharMap [str_lower.GetBuffer()[i]] = TRUE;
m_CharMap [str_upper.GetBuffer()[i]] = TRUE;
#else
m_CharMap [str_lower.c_str()[i]] = TRUE;
m_CharMap [str_upper.c_str()[i]] = TRUE;
#endif
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment