d3d8: Avoid a not needed address-of operator.

This commit is contained in:
Dmitry Timoshkov 2008-06-04 12:04:00 +09:00 committed by Alexandre Julliard
parent 2cf47c00f2
commit 92dfc02b01
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
static HWND create_window(void) static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc; wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClass(&wc);

View File

@ -22,7 +22,7 @@
static HWND create_window(void) static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc; wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClass(&wc);

View File

@ -30,7 +30,7 @@ static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASS wc = {0};
HWND ret; HWND ret;
wc.lpfnWndProc = &DefWindowProc; wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClass(&wc);

View File

@ -22,7 +22,7 @@
static HWND create_window(void) static HWND create_window(void)
{ {
WNDCLASS wc = {0}; WNDCLASS wc = {0};
wc.lpfnWndProc = &DefWindowProc; wc.lpfnWndProc = DefWindowProc;
wc.lpszClassName = "d3d8_test_wc"; wc.lpszClassName = "d3d8_test_wc";
RegisterClass(&wc); RegisterClass(&wc);