Commit 471fb146 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

uxtheme: Remove unused variable.

parent d8ce2207
...@@ -196,7 +196,6 @@ static PTHEME_PROPERTY UXTHEME_SelectImage(HTHEME hTheme, HDC hdc, int iPartId, ...@@ -196,7 +196,6 @@ static PTHEME_PROPERTY UXTHEME_SelectImage(HTHEME hTheme, HDC hdc, int iPartId,
WCHAR szPath[MAX_PATH]; WCHAR szPath[MAX_PATH];
int imagelayout = IL_HORIZONTAL; int imagelayout = IL_HORIZONTAL;
int imagecount = 1; int imagecount = 1;
int imagenum;
BITMAP bmp; BITMAP bmp;
HBITMAP hBmp; HBITMAP hBmp;
BOOL hasAlpha; BOOL hasAlpha;
...@@ -209,7 +208,6 @@ static PTHEME_PROPERTY UXTHEME_SelectImage(HTHEME hTheme, HDC hdc, int iPartId, ...@@ -209,7 +208,6 @@ static PTHEME_PROPERTY UXTHEME_SelectImage(HTHEME hTheme, HDC hdc, int iPartId,
GetThemeEnumValue(hTheme, iPartId, iStateId, TMT_IMAGELAYOUT, &imagelayout); GetThemeEnumValue(hTheme, iPartId, iStateId, TMT_IMAGELAYOUT, &imagelayout);
GetThemeInt(hTheme, iPartId, iStateId, TMT_IMAGECOUNT, &imagecount); GetThemeInt(hTheme, iPartId, iStateId, TMT_IMAGECOUNT, &imagecount);
imagenum = max (min (imagecount, iStateId), 1) - 1;
GetObjectW(hBmp, sizeof(bmp), &bmp); GetObjectW(hBmp, sizeof(bmp), &bmp);
if(imagelayout == IL_VERTICAL) { if(imagelayout == IL_VERTICAL) {
reqsize.x = bmp.bmWidth; reqsize.x = bmp.bmWidth;
......
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