ddraw: Remove two superfluous casts.
This commit is contained in:
parent
fa1d049847
commit
176c8eb333
|
@ -267,7 +267,7 @@ DDRAW_Create(const GUID *guid,
|
|||
This->wnd_class.hInstance = GetModuleHandleA(0);
|
||||
This->wnd_class.hIcon = 0;
|
||||
This->wnd_class.hCursor = 0;
|
||||
This->wnd_class.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);
|
||||
This->wnd_class.hbrBackground = GetStockObject(BLACK_BRUSH);
|
||||
This->wnd_class.lpszMenuName = NULL;
|
||||
This->wnd_class.lpszClassName = This->classname;
|
||||
if(!RegisterClassA(&This->wnd_class))
|
||||
|
|
|
@ -47,7 +47,7 @@ static void createwindow(void)
|
|||
wc.hInstance = GetModuleHandleA(0);
|
||||
wc.hIcon = LoadIconA(wc.hInstance, IDI_APPLICATION);
|
||||
wc.hCursor = LoadCursorA(NULL, IDC_ARROW);
|
||||
wc.hbrBackground = (HBRUSH) GetStockObject(BLACK_BRUSH);
|
||||
wc.hbrBackground = GetStockObject(BLACK_BRUSH);
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.lpszClassName = "TestWindowClass";
|
||||
if(!RegisterClassA(&wc))
|
||||
|
|
Loading…
Reference in New Issue