fix xtray blinking on unselected events

This commit is contained in:
berkeviktor@aol.com 2011-07-27 08:06:02 +02:00
parent 2572d46e67
commit 34144faca5
1 changed files with 1 additions and 2 deletions

View File

@ -167,10 +167,9 @@ int event_cb(char *word[], void *userdata)
free(szTemp); free(szTemp);
} }
if(g_dwPrefs & (1<<PREF_BLINK)) if(g_dwPrefs & (1<<PREF_BLINK) && (g_dwPrefs & (1<<iEvent)))
{ {
BlinkIcon(g_hXchatWnd, 1, g_hIcons[0], g_hIcons[(iEvent+1)], 700, 5); BlinkIcon(g_hXchatWnd, 1, g_hIcons[0], g_hIcons[(iEvent+1)], 700, 5);
} }
/***********************************/ /***********************************/