mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- PowerPlugin: Fixed crash when waking up from sleep/hibernation in some cases
- Code cleanup
This commit is contained in:
@ -96,7 +96,7 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
|
||||
else
|
||||
{
|
||||
g_Indexes[id] = 0;
|
||||
LSLog(LOG_WARNING, L"Rainmeter", L"CoreTempPlugin: Selected CoreTempType requires CoreTempIndex, assuming 0.");
|
||||
LSLog(LOG_WARNING, NULL, L"CoreTemp.dll: Selected CoreTempType requires CoreTempIndex, assuming 0");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -211,7 +211,7 @@ eMeasureType convertStringToMeasureType(LPCWSTR i_String)
|
||||
else
|
||||
{
|
||||
result = MeasureTemperature;
|
||||
LSLog(LOG_WARNING, L"Rainmeter", L"CoreTempPlugin: Incorrect CoreTempType, assuming Temperature.");
|
||||
LSLog(LOG_WARNING, NULL, L"CoreTemp.dll: Invalid CoreTempType");
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user