diff options
Diffstat (limited to 'redo/container_windows.c')
| -rw-r--r-- | redo/container_windows.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/container_windows.c b/redo/container_windows.c index 708bd9b..30838b4 100644 --- a/redo/container_windows.c +++ b/redo/container_windows.c @@ -1,4 +1,4 @@ -/* 17 july 2014 */ +// 17 july 2014 #include "winapi_windows.h" #include "_cgo_export.h" @@ -22,13 +22,13 @@ static LRESULT CALLBACK containerWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP data = (void *) GetWindowLongPtrW(hwnd, GWLP_USERDATA); if (data == NULL) { - /* the lpParam is available during WM_NCCREATE and WM_CREATE */ + // the lpParam is available during WM_NCCREATE and WM_CREATE if (uMsg == WM_NCCREATE) { storelpParam(hwnd, lParam); data = (void *) GetWindowLongPtrW(hwnd, GWLP_USERDATA); storeContainerHWND(data, hwnd); } - /* act as if we're not ready yet, even during WM_NCCREATE (nothing important to the switch statement below happens here anyway) */ + // act as if we're not ready yet, even during WM_NCCREATE (nothing important to the switch statement below happens here anyway) return DefWindowProcW(hwnd, uMsg, wParam, lParam); } @@ -46,7 +46,7 @@ static LRESULT CALLBACK containerWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP return DefWindowProcW(hwnd, uMsg, wParam, lParam); } xmissedmsg("container", "containerWndProc()", uMsg); - return 0; /* unreached */ + return 0; // unreached } DWORD makeContainerWindowClass(char **errmsg) |
