diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
| commit | c1dc235d3b1bda6f4ddff92da1e348399c4a3e70 (patch) | |
| tree | d106a4c0b077184a7bbfa65eccbe920e29dd6bc1 /redo/container_windows.c | |
| parent | 19976849e168cb2faa6cfb73517cd7c762430f6f (diff) | |
Stripped C-style comments from C sources and headers where appropriate.
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) |
