[Bug 27711] ListView_SetTextBkColor may lead to infinite loop

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 21 02:56:49 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27711

--- Comment #5 from ocean04 at suomi24.fi 2011-07-21 02:56:49 CDT ---
Tried this:

static BOOL LISTVIEW_SetTextBkColor(LISTVIEW_INFO *infoPtr, COLORREF color)
{
   FIXME("(oldcolor=%x)\n", infoPtr->clrTextBk);
   FIXME("(newcolor=%x)\n", color);

When I check and then uncheck, I get:

fixme:listview:LISTVIEW_SetTextBkColor (oldcolor=ffffff)
fixme:listview:LISTVIEW_SetTextBkColor (newcolor=ffffffff)
fixme:listview:LISTVIEW_SetTextBkColor (oldcolor=ffffff)
fixme:listview:LISTVIEW_SetTextBkColor (newcolor=ffffff)

3rd line, color was already white? Expecting to see oldcolor ffffffff. Possibly
this is why there was invalidate loop?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list