Fixed an uninitialized variable in win/win_ui.c.
This commit is contained in:
@@ -1271,7 +1271,7 @@ ui_init(int nCmdShow)
|
|||||||
WCHAR title[200];
|
WCHAR title[200];
|
||||||
WNDCLASSEX wincl; /* buffer for main window's class */
|
WNDCLASSEX wincl; /* buffer for main window's class */
|
||||||
RAWINPUTDEVICE ridev; /* RawInput device */
|
RAWINPUTDEVICE ridev; /* RawInput device */
|
||||||
MSG messages; /* received-messages buffer */
|
MSG messages = {0}; /* received-messages buffer */
|
||||||
HWND hwnd = NULL; /* handle for our window */
|
HWND hwnd = NULL; /* handle for our window */
|
||||||
HACCEL haccel; /* handle to accelerator table */
|
HACCEL haccel; /* handle to accelerator table */
|
||||||
RECT sbar_rect; /* RECT of the status bar */
|
RECT sbar_rect; /* RECT of the status bar */
|
||||||
|
Reference in New Issue
Block a user