aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoesis2019-01-30 23:37:53 -0800
committerJoesis2019-01-30 23:37:53 -0800
commit26d5b920200dbc1869c4bfde4571497082f83caa (patch)
treed35d6af8b5547f36df897479232d854b5090dd17
parent57a2af442e8b7aa8efd37d365856ece5f446382d (diff)
downloadsystray-26d5b920200dbc1869c4bfde4571497082f83caa.tar.bz2
more precise comment of LR_DEFAULTSIZE
-rw-r--r--systray_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/systray_windows.go b/systray_windows.go
index 42984e1..1cb453c 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