1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Nuke std::wstring from plDynamicTextMsg

This commit is contained in:
2014-05-19 20:57:24 -04:00
parent a332c9839d
commit f2dee21063
3 changed files with 12 additions and 36 deletions

View File

@ -298,11 +298,11 @@ void pyDynamicText::DrawTextW( int16_t x, int16_t y, std::wstring text )
// 2) clip
// 3) just draw
if ( fWrap )
pMsg->DrawWrappedString(x,y,fWrapWidth,fWrapHeight,text.c_str());
pMsg->DrawWrappedString(x,y,fWrapWidth,fWrapHeight,plString::FromWchar(text.c_str()));
else if ( fClip )
pMsg->DrawClippedString(x,y,fClipLeft,fClipTop,fClipRight,fClipBottom,text.c_str());
pMsg->DrawClippedString(x,y,fClipLeft,fClipTop,fClipRight,fClipBottom,plString::FromWchar(text.c_str()));
else
pMsg->DrawString(x,y,text.c_str());
pMsg->DrawString(x,y,plString::FromWchar(text.c_str()));
plgDispatch::MsgSend( pMsg ); // whoosh... off it goes
}