From c1dc235d3b1bda6f4ddff92da1e348399c4a3e70 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 10:42:10 -0400 Subject: Stripped C-style comments from C sources and headers where appropriate. --- redo/container_windows.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'redo/container_windows.c') 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) -- cgit v1.2.3