summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-02-16 21:32:58 +1100
committerwm4 <wm4@nowhere>2014-03-11 00:12:00 +0100
commit483e703793ba50405913511804aa924a739c13bb (patch)
treee51ca180cd4e6bde317c529304d1ab2c66344fbd
parent717cdeb95da654f812bf7ee8e228e53ea3284ab4 (diff)
downloadmpv-483e703793ba50405913511804aa924a739c13bb.tar.bz2
mpv-483e703793ba50405913511804aa924a739c13bb.tar.xz
w32_common: don't set small icon
Windows will automatically choose the correct icon size if this field is unset.
-rw-r--r--video/out/w32_common.c5
1 files changed, 1 insertions, 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)) {