From c2698a73d16a804b7df3b36dce010449803ff927 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 13 Dec 2014 19:36:40 +0000 Subject: XSoundNotify: fixed no sound after custon sound git-svn-id: http://svn.miranda-ng.org/main/trunk@11375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/XSoundNotify/src/xsn_main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins/XSoundNotify') diff --git a/plugins/XSoundNotify/src/xsn_main.cpp b/plugins/XSoundNotify/src/xsn_main.cpp index 9b121632ca..d8334bb002 100644 --- a/plugins/XSoundNotify/src/xsn_main.cpp +++ b/plugins/XSoundNotify/src/xsn_main.cpp @@ -162,8 +162,12 @@ static int ProcessChatEvent(WPARAM, LPARAM lParam) static int OnPlaySound(WPARAM, LPARAM) { - if (isIgnoreSound || isOwnSound) + if (isIgnoreSound) return 1; + if (isOwnSound) { + isOwnSound = 0; + return 1; + } return 0; } -- cgit v1.2.3