mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Changed flag to _DEBUG
This commit is contained in:
parent
69b359a841
commit
93fed2d41e
|
|
@ -170,7 +170,7 @@ void SignTileEntity::SetMessage(int iIndex,wstring &wsText)
|
||||||
if (wsText.length() > MAX_LINE_LENGTH) // MAX_LINE_LENGTH == 15
|
if (wsText.length() > MAX_LINE_LENGTH) // MAX_LINE_LENGTH == 15
|
||||||
{
|
{
|
||||||
wsText = wsText.substr(0, MAX_LINE_LENGTH);
|
wsText = wsText.substr(0, MAX_LINE_LENGTH);
|
||||||
#ifndef _CONTENT_PACKAGE
|
#ifdef _DEBUG
|
||||||
OutputDebugStringW(L"Sign text truncated to 15 characters\n");
|
OutputDebugStringW(L"Sign text truncated to 15 characters\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue