diff --git a/Library/ConfigParser.cpp b/Library/ConfigParser.cpp
index 8ec7fd7e..3c3c6847 100644
--- a/Library/ConfigParser.cpp
+++ b/Library/ConfigParser.cpp
@@ -220,7 +220,7 @@ void CConfigParser::ResetMonitorVariables(CMeterWindow* meterWindow)
*/
void CConfigParser::SetMultiMonitorVariables(bool reset)
{
- TCHAR buffer[256];
+ WCHAR buffer[32];
RECT workArea, scrArea;
if (!reset && c_MonitorVariables.empty())
@@ -280,7 +280,7 @@ void CConfigParser::SetMultiMonitorVariables(bool reset)
for (size_t i = 0; i < monitors.size(); ++i)
{
- TCHAR buffer2[256];
+ WCHAR buffer2[64];
const RECT work = (monitors[i].active) ? monitors[i].work : workArea;
@@ -328,7 +328,7 @@ void CConfigParser::SetAutoSelectedMonitorVariables(CMeterWindow* meterWindow)
{
if (meterWindow)
{
- TCHAR buffer[256];
+ WCHAR buffer[32];
if (CSystem::GetMonitorCount() > 0)
{
diff --git a/Library/Library.vcproj b/Library/Library.vcproj
index 7e06c101..fd8c62a2 100644
--- a/Library/Library.vcproj
+++ b/Library/Library.vcproj
@@ -2479,6 +2479,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+