*fix* correct comparison whether task_icon_asb is set

git-svn-id: http://tint2.googlecode.com/svn/trunk@384 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85 2010-01-30 08:30:02 +00:00
parent 249d380183
commit fa9521ca40

View file

@ -85,7 +85,7 @@ void init_taskbar()
panel->g_task.area._draw_foreground = draw_task;
panel->g_task.area.redraw = 1;
panel->g_task.area.on_screen = 1;
if (panel->g_task.config_asb_mask & (1<<TASK_NORMAL)) {
if ((panel->g_task.config_asb_mask & (1<<TASK_NORMAL)) == 0) {
panel->g_task.alpha[TASK_NORMAL] = 100;
panel->g_task.saturation[TASK_NORMAL] = 0;
panel->g_task.brightness[TASK_NORMAL] = 0;