summaryrefslogtreecommitdiff
path: root/redo/uitask_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/uitask_windows.c
parent19976849e168cb2faa6cfb73517cd7c762430f6f (diff)
Stripped C-style comments from C sources and headers where appropriate.
Diffstat (limited to 'redo/uitask_windows.c')
-rw-r--r--redo/uitask_windows.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/uitask_windows.c b/redo/uitask_windows.c
index d31a446..85b077d 100644
--- a/redo/uitask_windows.c
+++ b/redo/uitask_windows.c
@@ -1,9 +1,9 @@
-/* 17 july 2014 */
+// 17 july 2014
#include "winapi_windows.h"
#include "_cgo_export.h"
-/* note that this includes the terminating '\0' */
+// note that this includes the terminating '\0'
#define NAREACLASS (sizeof areaWindowClass / sizeof areaWindowClass[0])
void uimsgloop(void)
@@ -19,7 +19,7 @@ void uimsgloop(void)
res = GetMessageW(&msg, NULL, 0, 0);
if (res < 0)
xpanic("error calling GetMessage()", GetLastError());
- if (res == 0) /* WM_QUIT */
+ if (res == 0) // WM_QUIT
break;
active = GetActiveWindow();
if (active != NULL) {
@@ -70,7 +70,7 @@ static LRESULT CALLBACK msgwinproc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
return DefWindowProcW(hwnd, uMsg, wParam, lParam);
}
xmissedmsg("message-only", "msgwinproc()", uMsg);
- return 0; /* unreachable */
+ return 0; // unreachable
}
DWORD makemsgwin(char **errmsg)