diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-11 18:57:03 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-11 18:57:03 -0500 |
| commit | 09a42e0c344ce4c23918c305f7d27ad44116ba8e (patch) | |
| tree | 685cfc15702d5a1bd084f340b24158d2ebf618be /stdwndclass_windows.go | |
| parent | 7686c6e599212a38b61134eb685c8a4929db6941 (diff) | |
Added the init and testing main functions and started fixing errors. Let's fix the rest and hope it works...
Diffstat (limited to 'stdwndclass_windows.go')
| -rw-r--r-- | stdwndclass_windows.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stdwndclass_windows.go b/stdwndclass_windows.go index 730cd51..e3eafa8 100644 --- a/stdwndclass_windows.go +++ b/stdwndclass_windows.go @@ -5,7 +5,6 @@ import ( "fmt" "syscall" "unsafe" - "sync" ) const ( @@ -34,7 +33,7 @@ func stdWndProc(hwnd _HWND, uMsg uint32, wParam _WPARAM, lParam _LPARAM) _LRESUL return 0 case _WM_CLOSE: if sysData.closing != nil { - sysData.closing <- struct{} + sysData.closing <- struct{}{} } return 0 default: |
