Use Secure print funcs. Remove LCE File System

This commit is contained in:
GabsPuNs
2026-04-14 03:44:00 -04:00
parent 40d48948ff
commit 76ee5fa8d8
86 changed files with 286 additions and 293 deletions

View File

@@ -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);
}