mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-06 16:35:38 +00:00
fix omitting custom sounds
This commit is contained in:
1 parent
bd73c80152
commit
2550a94f05
2 files changed
+13
-13
No files matched your search
+9
-6
@@ -2187,12 +2187,15 @@ char *sound_files[NUM_XP];
|
||||
void
|
||||
sound_beep (session *sess)
|
||||
{
|
||||
if (sound_files[XP_TE_BEEP] && sound_files[XP_TE_BEEP][0])
|
||||
/* user defined beep _file_ */
|
||||
sound_play_event (XP_TE_BEEP);
|
||||
else
|
||||
/* system beep */
|
||||
fe_beep (sess);
|
||||
if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1)
|
||||
{
|
||||
if (sound_files[XP_TE_BEEP] && sound_files[XP_TE_BEEP][0])
|
||||
/* user defined beep _file_ */
|
||||
sound_play_event (XP_TE_BEEP);
|
||||
else
|
||||
/* system beep */
|
||||
fe_beep (sess);
|
||||
}
|
||||
}
|
||||
|
||||
static char *
|
||||
|
||||
Reference in new issue
Block a user