diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-20 14:41:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-20 14:41:18 +0000 |
commit | 34d205b40b9adab0f10ad62bf08e6999fe339348 (patch) | |
tree | 08c035d6ac90e3e78a1e4411bdfe414b88a65f5d /plugins/ImportTXT/BqhfIP.inc | |
parent | 04f4e2acfbc82946ca3def654214c08071a87359 (diff) |
MS_DB_TIME_* removed from pascal headers too
git-svn-id: http://svn.miranda-ng.org/main/trunk@14289 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ImportTXT/BqhfIP.inc')
-rw-r--r-- | plugins/ImportTXT/BqhfIP.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImportTXT/BqhfIP.inc b/plugins/ImportTXT/BqhfIP.inc index 91160dd1cc..aa7a9a8758 100644 --- a/plugins/ImportTXT/BqhfIP.inc +++ b/plugins/ImportTXT/BqhfIP.inc @@ -96,7 +96,7 @@ begin dbei.szModule := PAnsiChar(proto);
dbei.timestamp := RLInteger(pt + i + $12);
dbei.timestamp := dbei.timestamp -
- (Cardinal(CallService(MS_DB_TIME_TIMESTAMPTOLOCAL, dbei.timestamp, 0)) - dbei.timestamp); // приводим к GMT
+ (Cardinal(TimeZone_ToLocal(dbei.timestamp)) - dbei.timestamp); // приводим к GMT
if PByte(pt + i + $1A)^ = $00 then
dbei.flags := DBEF_READ or DBEF_UTF
else
|