summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_timezone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_timezone.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_timezone.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/svc_timezone.cpp b/plugins/UserInfoEx/src/svc_timezone.cpp
index 76954c6d17..ebff28999f 100644
--- a/plugins/UserInfoEx/src/svc_timezone.cpp
+++ b/plugins/UserInfoEx/src/svc_timezone.cpp
@@ -42,8 +42,8 @@ INT_PTR GetContactTimeZoneInformation(WPARAM wParam, LPARAM lParam)
if (lParam == NULL)
return (1);
//use new core tz interface
- LPTIME_ZONE_INFORMATION pTimeZoneInformation = TimeZone_GetInfo(TimeZone_CreateByContact(wParam, 0, 0));
- if (pTimeZoneInformation == NULL)
+ LPTIME_ZONE_INFORMATION pTimeZoneInformation = TimeZone_GetInfo(TimeZone_CreateByContact(wParam, nullptr, 0));
+ if (pTimeZoneInformation == nullptr)
return (1);
memcpy((void *)lParam, pTimeZoneInformation, sizeof(TIME_ZONE_INFORMATION));
return (0);