From c992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jun 2012 16:50:14 +0000 Subject: - microkernel addded; - version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/classMTime.cpp | 5 ++--- plugins/UserInfoEx/commonheaders.cpp | 1 - plugins/UserInfoEx/init.cpp | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/UserInfoEx') 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; /* ============================================================================================ -- cgit v1.2.3