From 483e703793ba50405913511804aa924a739c13bb Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sun, 16 Feb 2014 21:32:58 +1100 Subject: w32_common: don't set small icon Windows will automatically choose the correct icon size if this field is unset. --- video/out/w32_common.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/video/out/w32_common.c b/video/out/w32_common.c index bc9aedd4b4..89ddc823fb 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -647,17 +647,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)) { -- cgit v1.2.3