summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2014-02-16 21:32:58 +1100
committerwm4 <wm4@nowhere>2014-02-17 02:52:58 +0100
commitb3b59b9a2d51d57656eda965d02762131b0bd5b7 (patch)
tree40485b2cdd381d7f4f05de098fc3914b62755a69 /video
parent24fa69dbfa6c5c7a80456218f2c31179864c4d77 (diff)
downloadmpv-b3b59b9a2d51d57656eda965d02762131b0bd5b7.tar.bz2
mpv-b3b59b9a2d51d57656eda965d02762131b0bd5b7.tar.xz
w32_common: don't set small icon
Windows will automatically choose the correct icon size if this field is unset.
Diffstat (limited to 'video')
-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 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)) {