[CARDLIB]

Use the proper Highlight pen to highlight the cards (for any cards game using the cardlib library).
Patch by Victor Martinez Calvo.
CORE-8118 #resolve #comment Committed in revision 63036, thanks!

svn path=/trunk/; revision=63036
This commit is contained in:
Hermès Bélusca-Maïto 2014-04-28 20:00:02 +00:00
parent 32096ac27a
commit fe7035f7a7

View file

@ -75,7 +75,7 @@ void CardButton::DrawRect(HDC hdc, RECT *rect, bool fNormal)
if(fNormal)
hOld = SelectObject(hdc, hhi);
else
hOld = SelectObject(hdc, hhi);
hOld = SelectObject(hdc, hsh);
MoveToEx(hdc, x, y+height, 0);
LineTo(hdc, x, y);