diff options
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/classMTime.cpp | 5 | ||||
-rw-r--r-- | plugins/UserInfoEx/commonheaders.cpp | 1 | ||||
-rw-r--r-- | plugins/UserInfoEx/init.cpp | 1 |
3 files changed, 3 insertions, 4 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);
}
diff --git a/plugins/UserInfoEx/commonheaders.cpp b/plugins/UserInfoEx/commonheaders.cpp index a69a664168..f74cb2261e 100644 --- a/plugins/UserInfoEx/commonheaders.cpp +++ b/plugins/UserInfoEx/commonheaders.cpp @@ -30,7 +30,6 @@ Last change by : $Author: ing.u.horn $ #include "commonheaders.h"
// global:
-PLUGINLINK* pluginLink = NULL;
HINSTANCE ghInst = NULL;
MM_INTERFACE mmi; //memory interface
UTF8_INTERFACE utfi; //utf8 interface
diff --git a/plugins/UserInfoEx/init.cpp b/plugins/UserInfoEx/init.cpp index 0054755e33..1cab813504 100644 --- a/plugins/UserInfoEx/init.cpp +++ b/plugins/UserInfoEx/init.cpp @@ -72,6 +72,7 @@ static HANDLE ghModernToolBarLoaded = NULL; static HANDLE ghShutdownHook = NULL;
static HANDLE ghPrebuildStatusMenu = NULL;
int hLangpack;
+PLUGINLINK* pluginLink = NULL;
/*
============================================================================================
|