diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-28 12:15:27 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-28 12:15:27 -0400 |
| commit | b673f3d31ba13e2a70a9cd81ed38fb1a46788e27 (patch) | |
| tree | d0044c7fbb4cb3a28d922a20adfffb7bdd6e58c3 /comctl_windows.go | |
| parent | 9a1eb65f9a207a1c03e49cc9e281e7a8fd5e40a9 (diff) | |
Removed a TODO about GetLastError() being set in comctl_windows.go, rewording the error message itself to compensate instead.
Diffstat (limited to 'comctl_windows.go')
| -rw-r--r-- | comctl_windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/comctl_windows.go b/comctl_windows.go index bb60779..a52e19c 100644 --- a/comctl_windows.go +++ b/comctl_windows.go @@ -115,8 +115,7 @@ func initCommonControls() (err error) { comctl32 = syscall.NewLazyDLL("comctl32.dll") r1, _, err := comctl32.NewProc("InitCommonControlsEx").Call(uintptr(unsafe.Pointer(&icc))) if r1 == _FALSE { // failure - // TODO does it set GetLastError()? - return fmt.Errorf("error initializing Common Controls (comctl32.dll): %v", err) + return fmt.Errorf("error initializing Common Controls (comctl32.dll); windows last error: %v", err) } return nil } |
