Kaydet (Commit) ff8b9c4e authored tarafından Markus Mohrhard's avatar Markus Mohrhard

unnecessary wstring -> char* -> wstring conversion

Change-Id: I21e6036a5156ed62f2c7bff6439c64d0178c96e4
üst 115b7883
......@@ -323,7 +323,7 @@ void CPropertySheet::InitPropPageSummary(HWND hwnd, LPPROPSHEETPAGE /*lppsp*/)
// comments read from meta.xml use "\n" for return, but this will not displayable in Edit control, add
// "\r" before "\n" to form "\r\n" in order to display return in Edit control.
std::wstring tempStr = metaInfo.getTagData( META_INFO_DESCRIPTION ).c_str();
std::wstring tempStr = metaInfo.getTagData( META_INFO_DESCRIPTION );
std::wstring::size_type itor = tempStr.find ( L"\n" , 0 );
while (itor != std::wstring::npos)
{
......
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