diff options
author | TingPing <tingping@tingping.se> | 2015-05-28 14:13:34 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2015-05-28 14:13:34 -0400 |
commit | 94ef0fd29480b8390b0adff625122db9e732ac5a (patch) | |
tree | ab84651ebba3d84bff07289aec4131316df97e87 | |
parent | ebe1f824a7e60039ea46869e8569bdf60cfc1dda (diff) |
Fix warning
-rw-r--r-- | src/common/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c index f02a79ab..cd9ea26e 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -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_ */ |