Fix warning

This commit is contained in:
TingPing 2015-05-28 14:13:34 -04:00
parent ebe1f824a7
commit 94ef0fd294
1 changed files with 1 additions and 1 deletions

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_ */