summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-03-28 20:15:45 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-03-28 20:15:45 +0000
commit1ef0329818e7ae30435f4c94d21862c7750f5601 (patch)
tree0cee1172022e75d0fe4b7aa746abbf9d3a1d2437 /plugins
parent20f4a5534324ba89fa08f2a6948b1400547c9362 (diff)
Miranda API update
Watrack: LastFM dialog crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@8780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ExternalAPI/delphi/m_toptoolbar.inc8
-rw-r--r--plugins/Watrack/lastfm/i_last_api.inc3
2 files changed, 4 insertions, 7 deletions
diff --git a/plugins/ExternalAPI/delphi/m_toptoolbar.inc b/plugins/ExternalAPI/delphi/m_toptoolbar.inc
index 5956b10ea7..1e2e603b9c 100644
--- a/plugins/ExternalAPI/delphi/m_toptoolbar.inc
+++ b/plugins/ExternalAPI/delphi/m_toptoolbar.inc
@@ -151,12 +151,12 @@ type
nButtonWidth :int;
nButtonHeight:int;
nButtonSpace :int;
- nLastHeight :int; // fix against recursion in WM_SIZE
- bOrderChanged:boolean; // set by buttons' arrange procedure if the buttons' order was changed
+ nLastHeight :int; // fix against recursion in WM_SIZE
+ bOrderChanged:bool; // set by buttons' arrange procedure if the buttons' order was changed
bFlatButtons,
bAutoSize,
- bSingleLine :boolean;
- bHardUpdate :boolean; // clist modern requires to delete buttons to update them
+ bSingleLine :bool;
+ bHardUpdate :bool; // clist modern requires to delete buttons to update them
pButtonList :PSortedList;
end;
diff --git a/plugins/Watrack/lastfm/i_last_api.inc b/plugins/Watrack/lastfm/i_last_api.inc
index ec42acfeeb..f09b93441b 100644
--- a/plugins/Watrack/lastfm/i_last_api.inc
+++ b/plugins/Watrack/lastfm/i_last_api.inc
@@ -370,7 +370,6 @@ begin
pcw:=#0;
StrDupW(data.tags,pWideChar(@request));
DestroyNode(root);
- mFreeMem(pcw);
end;
end;
end;
@@ -479,7 +478,6 @@ begin
StrDupW(data.tags,pWideChar(@request));
DestroyNode(root);
- mFreeMem(pcw);
end;
end;
end;
@@ -593,7 +591,6 @@ begin
StrDupW(data.tags,pWideChar(@request));
DestroyNode(root);
- mFreeMem(pcw);
end;
end;
end;