mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Nuke std::wstring from plDynamicTextMsg
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user