diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 10:42:10 -0400 |
| commit | c1dc235d3b1bda6f4ddff92da1e348399c4a3e70 (patch) | |
| tree | d106a4c0b077184a7bbfa65eccbe920e29dd6bc1 /redo/init_windows.c | |
| parent | 19976849e168cb2faa6cfb73517cd7c762430f6f (diff) | |
Stripped C-style comments from C sources and headers where appropriate.
Diffstat (limited to 'redo/init_windows.c')
| -rw-r--r-- | redo/init_windows.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/init_windows.c b/redo/init_windows.c index cc04fb7..4b35fc3 100644 --- a/redo/init_windows.c +++ b/redo/init_windows.c @@ -1,4 +1,4 @@ -/* 17 july 2014 */ +// 17 july 2014 #include "winapi_windows.h" @@ -21,7 +21,7 @@ DWORD initWindows(char **errmsg) STARTUPINFOW si; NONCLIENTMETRICSW ncm; - /* WinMain() parameters */ + // WinMain() parameters hInstance = GetModuleHandleW(NULL); if (hInstance == NULL) { *errmsg = "error getting hInstance"; @@ -32,7 +32,7 @@ DWORD initWindows(char **errmsg) if ((si.dwFlags & STARTF_USESHOWWINDOW) != 0) nCmdShow = si.wShowWindow; - /* icons and cursors */ + // icons and cursors hDefaultIcon = LoadIconW(NULL, IDI_APPLICATION); if (hDefaultIcon == NULL) { *errmsg = "error loading default icon"; @@ -44,7 +44,7 @@ DWORD initWindows(char **errmsg) return GetLastError(); } - /* standard fonts */ + // standard fonts #define GETFONT(l, f, n) l = CreateFontIndirectW(&ncm.f); \ if (l == NULL) { \ *errmsg = "error loading " n " font"; \ |
