Shrunk some string buffer size.

This commit is contained in:
spx
2010-09-13 20:06:52 +00:00
parent 27b07f653c
commit 2cb88b0733
10 changed files with 28 additions and 29 deletions

View File

@ -215,7 +215,7 @@ void CMeterString::Initialize()
*/
void CMeterString::ReadConfig(const WCHAR* section)
{
WCHAR tmpName[256];
WCHAR tmpName[64];
// Store the current font values so we know if the font needs to be updated
std::wstring oldFontFace = m_FontFace;
@ -418,7 +418,7 @@ bool CMeterString::Update()
}
else
{
WCHAR buffer[256];
WCHAR buffer[64];
// Create the actual text (i.e. replace %1, %2, .. with the measure texts)
std::wstring tmpText = m_Text;