mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Change NULL to nullptr
This commit is contained in:
@ -140,7 +140,7 @@ PLUGIN_EXPORT void Finalize(void* data)
|
||||
void ReadSharedData(SensorType type, ScaleType scale, UINT number, double* value)
|
||||
{
|
||||
HANDLE hData = OpenFileMapping(FILE_MAP_READ, FALSE, L"SFSharedMemory_ALM");
|
||||
if (hData == NULL) return;
|
||||
if (hData == nullptr) return;
|
||||
|
||||
SpeedFanData* ptr = (SpeedFanData*)MapViewOfFile(hData, FILE_MAP_READ, 0, 0, 0);
|
||||
if (ptr == 0)
|
||||
|
Reference in New Issue
Block a user