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/basicctrls_windows.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'redo/basicctrls_windows.c') diff --git a/redo/basicctrls_windows.c b/redo/basicctrls_windows.c index 3a7a460..a703d75 100644 --- a/redo/basicctrls_windows.c +++ b/redo/basicctrls_windows.c @@ -1,4 +1,4 @@ -/* 17 july 2014 */ +// 17 july 2014 #include "winapi_windows.h" #include "_cgo_export.h" @@ -20,7 +20,7 @@ static LRESULT CALLBACK buttonSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); } xmissedmsg("Button", "buttonSubProc()", uMsg); - return 0; /* unreached */ + return 0; // unreached } void setButtonSubclass(HWND hwnd, void *data) @@ -36,7 +36,7 @@ static LRESULT CALLBACK checkboxSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA if (HIWORD(wParam) == BN_CLICKED) { WPARAM check; - /* we didn't use BS_AUTOCHECKBOX (see controls_windows.go) so we have to manage the check state ourselves */ + // we didn't use BS_AUTOCHECKBOX (see controls_windows.go) so we have to manage the check state ourselves check = BST_CHECKED; if (SendMessage(hwnd, BM_GETCHECK, 0, 0) == BST_CHECKED) check = BST_UNCHECKED; @@ -53,7 +53,7 @@ static LRESULT CALLBACK checkboxSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); } xmissedmsg("Checkbox", "checkboxSubProc()", uMsg); - return 0; /* unreached */ + return 0; // unreached } void setCheckboxSubclass(HWND hwnd, void *data) -- cgit v1.2.3