mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-06-04 13:57:36 +00:00
Use Secure print funcs. Remove LCE File System
This commit is contained in:
@@ -168,8 +168,8 @@ void UIComponent_TutorialPopup::_SetDescription(UIScene *interactScene, const ws
|
||||
// set the text colour
|
||||
wchar_t formatting[40];
|
||||
// 4J Stu - Don't set HTML font size, that's set at design time in flash
|
||||
//swprintf(formatting, 40, L"<font color=\"#%08x\" size=\"%d\">",app.GetHTMLColour(eHTMLColor_White),m_textFontSize);
|
||||
swprintf(formatting, 40, L"<font color=\"#%08x\">",app.GetHTMLColour(eHTMLColor_White));
|
||||
//swprintf_s(formatting, 40, L"<font color=\"#%08x\" size=\"%d\">",app.GetHTMLColour(eHTMLColor_White),m_textFontSize);
|
||||
swprintf_s(formatting, 40, L"<font color=\"#%08x\">",app.GetHTMLColour(eHTMLColor_White));
|
||||
text = formatting + text;
|
||||
|
||||
m_labelDescription.setLabel( text, true );
|
||||
@@ -181,8 +181,8 @@ void UIComponent_TutorialPopup::_SetDescription(UIScene *interactScene, const ws
|
||||
// set the text colour
|
||||
wchar_t formatting[40];
|
||||
// 4J Stu - Don't set HTML font size, that's set at design time in flash
|
||||
//swprintf(formatting, 40, L"<font color=\"#%08x\" size=\"%d\">",app.GetHTMLColour(eHTMLColor_White),m_textFontSize);
|
||||
swprintf(formatting, 40, L"<font color=\"#%08x\">",app.GetHTMLColour(eHTMLColor_White));
|
||||
//swprintf_s(formatting, 40, L"<font color=\"#%08x\" size=\"%d\">",app.GetHTMLColour(eHTMLColor_White),m_textFontSize);
|
||||
swprintf_s(formatting, 40, L"<font color=\"#%08x\">",app.GetHTMLColour(eHTMLColor_White));
|
||||
text = formatting + text;
|
||||
|
||||
m_labelDescription.setLabel( text, true );
|
||||
|
||||
Reference in New Issue
Block a user