mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-06-25 16:55:34 +00:00
Use Secure print funcs. Remove LCE File System
This commit is contained in:
@@ -66,7 +66,7 @@ void SignTileEntity::load(CompoundTag *tag)
|
||||
for (int i = 0; i < MAX_SIGN_LINES; i++)
|
||||
{
|
||||
wchar_t buf[16];
|
||||
swprintf(buf, 16, L"Text%d", (i+1) );
|
||||
swprintf_s(buf, 16, L"Text%d", (i+1) );
|
||||
m_wsmessages[i] = tag->getString( buf );
|
||||
if (m_wsmessages[i].length() > MAX_LINE_LENGTH) m_wsmessages[i] = m_wsmessages[i].substr(0, MAX_LINE_LENGTH);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user