diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-13 19:36:40 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-13 19:36:40 +0000 |
commit | c2698a73d16a804b7df3b36dce010449803ff927 (patch) | |
tree | 304c716e672f19d1c9a309eaeffa3d3eca082f10 /plugins/XSoundNotify/src | |
parent | f55574591e8f66adc24fd62f25b4dc7f299e87a0 (diff) |
XSoundNotify: fixed no sound after custon sound
git-svn-id: http://svn.miranda-ng.org/main/trunk@11375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/XSoundNotify/src')
-rw-r--r-- | plugins/XSoundNotify/src/xsn_main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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;
}
|