diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-01 16:51:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-01 16:51:48 +0000 |
commit | 779136b83154801010b848fadc2fce4011ecd16d (patch) | |
tree | 1ff4931ece25817b3b1518d93532c05298287588 /plugins/Watrack | |
parent | 15858ed4002eabbe921dc56c8bbfbf7a639c48cb (diff) |
minor optimization for pascal
git-svn-id: http://svn.miranda-ng.org/main/trunk@3821 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack')
-rw-r--r-- | plugins/Watrack/watrack.dpr | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr index 20d5b3b699..a3d7abf464 100644 --- a/plugins/Watrack/watrack.dpr +++ b/plugins/Watrack/watrack.dpr @@ -8,7 +8,7 @@ library WATrack; uses
// FastMM not compatible with FPC, internal for delphi xe
// {$IFNDEF COMPILER_16_UP}{$IFNDEF FPC}fastmm4,{$ENDIF}{$ENDIF}
- m_api,dbsettings,activex,winampapi,
+ m_api,dbsettings,winampapi,
Windows,messages,commctrl,//uxtheme,
srv_format,srv_player,wat_api,wrapper,
common,syswin,HlpDlg,mirutils
@@ -494,8 +494,6 @@ begin hTimer:=0;
- OleInitialize(nil);
-
if RegisterIcons then
wsic:=HookEvent(ME_SKIN2_ICONSCHANGED,@IconChanged)
else
@@ -611,8 +609,6 @@ begin DestroyHookableEvent(hHookWATLoaded);
DestroyHookableEvent(hHookWATStatus);
- OleUnInitialize;
-
//delete cover files
buf[0]:=#0;
GetTempPathW(511,buf);
|