mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-06-24 21:05:32 +00:00
Use Secure print funcs. Remove LCE File System
This commit is contained in:
@@ -78,9 +78,9 @@ void UIScene_DebugCreateSchematic::onDirectEditFinished(UIControl_TextInput *inp
|
||||
if (input == &m_textInputName)
|
||||
{
|
||||
if (!value.empty())
|
||||
swprintf(m_data->name, 64, L"%ls", value.c_str());
|
||||
swprintf_s(m_data->name, 64, L"%ls", value.c_str());
|
||||
else
|
||||
swprintf(m_data->name, 64, L"schematic");
|
||||
swprintf_s(m_data->name, 64, L"schematic");
|
||||
}
|
||||
else if (input == &m_textInputStartX) m_data->startX = iVal;
|
||||
else if (input == &m_textInputStartY) m_data->startY = iVal;
|
||||
@@ -260,11 +260,11 @@ int UIScene_DebugCreateSchematic::KeyboardCompleteCallback(LPVOID lpParam,bool b
|
||||
pClass->m_textInputName.setLabel(value);
|
||||
if(!value.empty())
|
||||
{
|
||||
swprintf(pClass->m_data->name,64,L"%ls", value.c_str());
|
||||
swprintf_s(pClass->m_data->name,64,L"%ls", value.c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
swprintf(pClass->m_data->name,64,L"schematic");
|
||||
swprintf_s(pClass->m_data->name,64,L"schematic");
|
||||
}
|
||||
break;
|
||||
case eControl_StartX:
|
||||
|
||||
Reference in New Issue
Block a user