diff options
-rw-r--r-- | video/out/w32_common.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/w32_common.c b/video/out/w32_common.c index b05a47fc90..5b8771fd82 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -826,17 +826,14 @@ int vo_w32_init(struct vo *vo) HINSTANCE hInstance = GetModuleHandleW(NULL); - HICON mplayerIcon = LoadIconW(hInstance, L"IDI_ICON1"); - WNDCLASSEXW wcex = { .cbSize = sizeof wcex, .style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW, .lpfnWndProc = WndProc, .hInstance = hInstance, - .hIcon = mplayerIcon, + .hIcon = LoadIconW(hInstance, L"IDI_ICON1"), .hCursor = LoadCursor(NULL, IDC_ARROW), .lpszClassName = classname, - .hIconSm = mplayerIcon, }; if (!RegisterClassExW(&wcex)) { |