summaryrefslogtreecommitdiff
path: root/redo/window_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/window_windows.c
parent19976849e168cb2faa6cfb73517cd7c762430f6f (diff)
Stripped C-style comments from C sources and headers where appropriate.
Diffstat (limited to 'redo/window_windows.c')
-rw-r--r--redo/window_windows.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/window_windows.c b/redo/window_windows.c
index 3cd43cd..dcb233a 100644
--- a/redo/window_windows.c
+++ b/redo/window_windows.c
@@ -1,4 +1,4 @@
-/* 17 july 2014 */
+// 17 july 2014
#include "winapi_windows.h"
#include "_cgo_export.h"
@@ -12,13 +12,13 @@ static LRESULT CALLBACK windowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA
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);
storeWindowHWND(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);
}
@@ -39,7 +39,7 @@ static LRESULT CALLBACK windowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
}
xmissedmsg("Window", "windowWinProc()", uMsg);
- return 0; /* unreached */
+ return 0; // unreached
}
DWORD makeWindowWindowClass(char **errmsg)