summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <an2048@gmail.com>2018-10-15 16:37:21 +0200
committerGitHub <noreply@github.com>2018-10-15 16:37:21 +0200
commita7f87360b10eafe73bd3ff01db16976fe7560fbf (patch)
tree5cb4b6f9f7b03edcce9882b9c1d1784c9c72984b
parentMerge pull request #54 from sugoiuguu/master (diff)
parentMerge branch 'master' into patch-1 (diff)
downloadwireguard-windows-a7f87360b10eafe73bd3ff01db16976fe7560fbf.tar.xz
wireguard-windows-a7f87360b10eafe73bd3ff01db16976fe7560fbf.zip
Merge pull request #56 from SilverCory/patch-1
Proper custom color handling
-rw-r--r--AUTHORS2
-rw-r--r--comdlg32.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index bbda12da..e93ff83c 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -27,3 +27,5 @@ mycaosf <mycaosf@gmail.com>
ryujimiya <ryujimiya236@gmail.com>
Tiago Carvalho <sugoiuguu@tfwno.gf>
wsf01 <wf1337@sina.com>
+gonutz
+Cory Redmond <ace@ac3-servers.eu>
diff --git a/comdlg32.go b/comdlg32.go
index 56c55647..6ba9d050 100644
--- a/comdlg32.go
+++ b/comdlg32.go
@@ -46,7 +46,7 @@ type CHOOSECOLOR struct {
HwndOwner HWND
HInstance HWND
RgbResult COLORREF
- LpCustColors *COLORREF
+ LpCustColors *[16]COLORREF
Flags uint32
LCustData uintptr
LpfnHook uintptr