mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
CoreTemp: Fixed issue: http://rainmeter.net/forum/viewtopic.php?f=14&t=11257
This commit is contained in:
parent
82e8c6e307
commit
ec2b19f0dc
@ -60,9 +60,9 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue)
|
|||||||
MeasureData* measure = (MeasureData*)data;
|
MeasureData* measure = (MeasureData*)data;
|
||||||
|
|
||||||
LPCWSTR value = RmReadString(rm, L"CoreTempType", L"Temperature");
|
LPCWSTR value = RmReadString(rm, L"CoreTempType", L"Temperature");
|
||||||
eMeasureType type = convertStringToMeasureType(value);
|
measure->type = convertStringToMeasureType(value);
|
||||||
|
|
||||||
if (type == MeasureTemperature || type == MeasureTjMax || type == MeasureLoad)
|
if (measure->type == MeasureTemperature || measure->type == MeasureTjMax || measure->type == MeasureLoad)
|
||||||
{
|
{
|
||||||
measure->index = RmReadInt(rm, L"CoreTempIndex", 0);
|
measure->index = RmReadInt(rm, L"CoreTempIndex", 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user