diff options
author | Alexey Kulakov <panda75@bk.ru> | 2014-01-16 03:11:48 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2014-01-16 03:11:48 +0000 |
commit | de34b251b442cdf72b13c407d6b60c343c123bb3 (patch) | |
tree | a2e05db9606405b78b949ccc67860bb2096f1f5e /plugins/Watrack/srv_player.pas | |
parent | 74220939c1156067d46ccb85cbc307737cd5a244 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/srv_player.pas')
-rw-r--r-- | plugins/Watrack/srv_player.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack/srv_player.pas b/plugins/Watrack/srv_player.pas index 07db406a8a..dff61191b5 100644 --- a/plugins/Watrack/srv_player.pas +++ b/plugins/Watrack/srv_player.pas @@ -365,9 +365,8 @@ begin begin
p:=PlyNum;
result:=WAT_RES_OK;
- inc(PlyNum);
- if PlyNum>PlyMax then // expand array when append
+ if PlyNum=PlyMax then // expand array when append
begin
if PlyMax=0 then
PlyMax:=StartSize
@@ -412,6 +411,7 @@ begin else
plyLink^[p].URL:=nil;
+ inc(PlyNum);
end
else // existing player
begin
|