Revert Secure funcs Part 1

This commit is contained in:
GabsPuNs
2026-04-18 14:08:30 -04:00
parent 1ceeb2a647
commit 86879aa2fc
79 changed files with 271 additions and 271 deletions

View File

@@ -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_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));
//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));
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_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));
//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));
text = formatting + text;
m_labelDescription.setLabel( text, true );