1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-21 23:28:51 -05:00

Fix warning

This commit is contained in:
TingPing 2015-05-28 14:13:34 -04:00
parent ebe1f824a7
commit 94ef0fd294

View File

@ -2134,7 +2134,7 @@ char *sound_files[NUM_XP];
void
sound_beep (session *sess)
{
if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1)
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_ */