Fix certain cases of clicking in slider.

SVN revision: 37633
This commit is contained in:
Kim Woelders 2008-11-14 18:30:58 +00:00
parent 86b3545635
commit 5364016cb3
1 changed files with 2 additions and 1 deletions

View File

@ -2330,7 +2330,8 @@ DItemEventMouseOut(Win win __UNUSED__, DItem * di, XEvent * ev)
break;
}
di->hilited = 0;
if (!di->clicked)
di->hilited = 0;
DialogDrawItems(di->dlg, di, di->x, di->y, di->w, di->h);
}