mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixing errors caused by r549.
This commit is contained in:
parent
c1fda93526
commit
9da555a187
@ -102,7 +102,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
{
|
||||
std::wstring error = L"RecycleType=";
|
||||
error += type;
|
||||
error += L" is not valid in measure [" + section + L"].";
|
||||
error += L" is not valid in measure [";
|
||||
error += section;
|
||||
error += L"].";
|
||||
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
|
@ -115,7 +115,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
{
|
||||
std::wstring error = L"GDICountType=";
|
||||
error += type;
|
||||
error += L" is not valid in measure [" + section + L"].";
|
||||
error += L" is not valid in measure [";
|
||||
error += section;
|
||||
error += L"].";
|
||||
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +113,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
{
|
||||
std::wstring error = L"SpeedFanScale=";
|
||||
error += scale;
|
||||
error += L" is not valid in measure [" + section + L"]." ;
|
||||
error += L" is not valid in measure [";
|
||||
error += section;
|
||||
error += L"].";
|
||||
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
@ -130,7 +132,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
{
|
||||
std::wstring error = L"SpeedFanType=";
|
||||
error += type;
|
||||
error += L" is not valid in measure [" + section + L"]." ;
|
||||
error += L" is not valid in measure [";
|
||||
error += section;
|
||||
error += L"].";
|
||||
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
|
@ -209,7 +209,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
{
|
||||
std::wstring error = L"SysInfoType=";
|
||||
error += type;
|
||||
error += L" is not valid in measure [" + section + L"]." ;
|
||||
error += L" is not valid in measure [";
|
||||
error += section;
|
||||
error += L"].";
|
||||
MessageBox(NULL, error.c_str(), L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONEXCLAMATION);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user