From 26d5b920200dbc1869c4bfde4571497082f83caa Mon Sep 17 00:00:00 2001 From: Joesis Date: Wed, 30 Jan 2019 23:37:53 -0800 Subject: [PATCH] more precise comment of LR_DEFAULTSIZE --- systray_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systray_windows.go b/systray_windows.go index 42984e15..1cb453c2 100644 --- a/systray_windows.go +++ b/systray_windows.go @@ -183,7 +183,7 @@ type winTray struct { func (t *winTray) setIcon(src string) error { const IMAGE_ICON = 1 // Loads an icon const LR_LOADFROMFILE = 0x00000010 // Loads the stand-alone image from the file - const LR_DEFAULTSIZE = 0x00000040 // Loads default-size icon for windows(16 x 16) if cx, cy are set to zero + const LR_DEFAULTSIZE = 0x00000040 // Loads default-size icon for windows(SM_CXICON x SM_CYICON) if cx, cy are set to zero const NIF_ICON = 0x00000002 // Save and reuse handles of loaded images