Just pass utf-8

develop
kaetemi 4 years ago
parent 99df03dad0
commit 773f27dfcb

@ -229,7 +229,7 @@ uint32 CTextContextUser::textPush(const char *format, ...)
char *str;
NLMISC_CONVERT_VARGS (str, format, NLMISC::MaxCStringSize);
return _TextContext.textPush(ucstring(str)) ;
return _TextContext.textPush(str) ;
}
uint32 CTextContextUser::textPush(NLMISC::CUtfStringView sv)
{
@ -340,7 +340,7 @@ void CTextContextUser::printfAt(float x, float y, const char * format, ...)
char *str;
NLMISC_CONVERT_VARGS (str, format, NLMISC::MaxCStringSize);
_TextContext.printAt(x, y, ucstring(str)) ;
_TextContext.printAt(x, y, str) ;
_DriverUser->restoreMatrixContext();
}

Loading…
Cancel
Save