From c3a168743616db6606702db5ad0fecab4dfee3da Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Thu, 24 Apr 2014 14:55:20 +0000 Subject: Miranda API update Watrack refactoring, API changes git-svn-id: http://svn.miranda-ng.org/main/trunk@9068 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/kolframe/kolframe.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Watrack/kolframe/kolframe.pas') diff --git a/plugins/Watrack/kolframe/kolframe.pas b/plugins/Watrack/kolframe/kolframe.pas index 8120e34f0e..49a541a206 100644 --- a/plugins/Watrack/kolframe/kolframe.pas +++ b/plugins/Watrack/kolframe/kolframe.pas @@ -106,8 +106,7 @@ begin case wParam of WAT_EVENT_PLAYERSTATUS: begin case integer(loword(lParam)) of - WAT_PLS_NORMAL : exit; - WAT_PLS_NOMUSIC : begin + WAT_PLS_STOPPED : begin if D.HideNoMusic then HideFrame(D.FrameId) else @@ -119,6 +118,8 @@ begin SetFrameTitle(PluginShort,0,0); // frame update code there end; + else + exit; end; FrameCtrl.ResetFrame; end; -- cgit v1.2.3