Commit 398cb959 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

comctl32/button: Initialize dtFlags in PB_Paint().

Fix an uninitialized variable warning.
parent 1e58882e
...@@ -1833,7 +1833,7 @@ static void BUTTON_DrawThemedLabel(const BUTTON_INFO *info, HDC hdc, UINT text_f ...@@ -1833,7 +1833,7 @@ static void BUTTON_DrawThemedLabel(const BUTTON_INFO *info, HDC hdc, UINT text_f
static void PB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action ) static void PB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action )
{ {
RECT rc, labelRect, imageRect, textRect; RECT rc, labelRect, imageRect, textRect;
UINT dtFlags, uState; UINT dtFlags = (UINT)-1, uState;
HPEN hOldPen, hpen; HPEN hOldPen, hpen;
HBRUSH hOldBrush; HBRUSH hOldBrush;
INT oldBkMode; INT oldBkMode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment