Remove extra omitalerts check

This commit is contained in:
TingPing 2013-04-27 19:16:34 -03:00
parent 78e39bfb1c
commit e714c7d53f

View File

@ -664,8 +664,6 @@ fe_print_text (struct session *sess, char *text, time_t stamp)
void void
fe_beep (session *sess) fe_beep (session *sess)
{ {
if (!prefs.hex_gui_focus_omitalerts || !fe_gui_info (sess, 0) == 1)
{
#ifdef WIN32 #ifdef WIN32
if (!PlaySound ("Notification.IM", NULL, SND_ALIAS|SND_ASYNC)) if (!PlaySound ("Notification.IM", NULL, SND_ALIAS|SND_ASYNC))
{ {
@ -683,7 +681,6 @@ fe_beep (session *sess)
#endif #endif
gdk_beep (); gdk_beep ();
#endif #endif
}
} }
void void