wfreerdp: floatbar: minor cleanup.

This commit is contained in:
Zhang Zhaolong 2014-03-04 13:49:37 +08:00
parent 0d86ee942f
commit 83f8d47d20

View File

@ -136,11 +136,6 @@ static int button_paint(Button* button, HDC hdc)
static Button* floatbar_create_button(FloatBar* floatbar, int type, int resid, int resid_act, int x, int y, int h, int w) static Button* floatbar_create_button(FloatBar* floatbar, int type, int resid, int resid_act, int x, int y, int h, int w)
{ {
Button *button; Button *button;
HDC hDC;
HDC hMemDC;
HBITMAP hBitmap;
HBITMAP hOldBitmap;
BITMAP bm;
button = (Button *)malloc(sizeof(Button)); button = (Button *)malloc(sizeof(Button));