summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-05-24 07:54:05 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-06-11 09:32:39 -0400
commitf64fea1b23df163485720c03054b3a17ae0c673a (patch)
treea54fba35de18018c4d09f2f8b43ed972cebe858b /platform/windows/os_windows.cpp
parente82a1113abbb72504e9b12a131738bedb40d3a28 (diff)
Add Time singleton
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index ccf13488ab..a03d4a4f69 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -315,8 +315,8 @@ OS::Time OS_Windows::get_time(bool utc) const {
Time time;
time.hour = systemtime.wHour;
- time.min = systemtime.wMinute;
- time.sec = systemtime.wSecond;
+ time.minute = systemtime.wMinute;
+ time.second = systemtime.wSecond;
return time;
}