summaryrefslogtreecommitdiff
path: root/redo/area_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 10:42:10 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 10:42:10 -0400
commitc1dc235d3b1bda6f4ddff92da1e348399c4a3e70 (patch)
treed106a4c0b077184a7bbfa65eccbe920e29dd6bc1 /redo/area_windows.c
parent19976849e168cb2faa6cfb73517cd7c762430f6f (diff)
Stripped C-style comments from C sources and headers where appropriate.
Diffstat (limited to 'redo/area_windows.c')
-rw-r--r--redo/area_windows.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/redo/area_windows.c b/redo/area_windows.c
index 9bb6085..e6347bd 100644
--- a/redo/area_windows.c
+++ b/redo/area_windows.c
@@ -1,6 +1,4 @@
-/* 24 march 2014 */
-
-/* TODO either strip the // comments or find out if --std=c99 is safe for cgo */
+// 24 march 2014
#include "winapi_windows.h"
#include "_cgo_export.h"
@@ -319,13 +317,13 @@ static LRESULT CALLBACK areaWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
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);
storeAreaHWND(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);
}
@@ -414,7 +412,7 @@ static LRESULT CALLBACK areaWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
}
xmissedmsg("Area", "areaWndProc()", uMsg);
- return 0; /* unreached */
+ return 0; // unreached
}
DWORD makeAreaWindowClass(char **errmsg)