diff options
Diffstat (limited to 'plugins/UserInfoEx/classMTime.cpp')
-rw-r--r-- | plugins/UserInfoEx/classMTime.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/classMTime.cpp b/plugins/UserInfoEx/classMTime.cpp index 6e03c02eaf..3b1dd2e081 100644 --- a/plugins/UserInfoEx/classMTime.cpp +++ b/plugins/UserInfoEx/classMTime.cpp @@ -291,9 +291,9 @@ DWORD MTime::TimeStamp() const li.QuadPart /= 10000000i64;
li.QuadPart -= 11644473600i64;
- if (li.QuadPart < 0) {
+ if (li.QuadPart < 0)
return 0;
- }
+
return (DWORD)li.QuadPart;
}
@@ -372,7 +372,6 @@ WORD MTime::DateFormatLong(LPTSTR ptszTimeFormat, WORD cchTimeFormat) VOID MTime::FromStampAsUTC(const DWORD dwTimeStamp)
{
LARGE_INTEGER li;
-
li.QuadPart = (dwTimeStamp + 11644473600i64) * 10000000i64;
Set(li, FALSE);
}
|