diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/common.cpp | 6 | ||||
-rw-r--r-- | c/listview.cpp | 3 | ||||
-rw-r--r-- | c/main.cpp | 6 |
3 files changed, 5 insertions, 10 deletions
diff --git a/c/common.cpp b/c/common.cpp index a91836d..ba6593b 100644 --- a/c/common.cpp +++ b/c/common.cpp @@ -23,8 +23,7 @@ const char* Win32Error::what() const noexcept m_dwErr, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (char*)&m_szMsg, - 0, NULL - ); + 0, NULL); return m_szMsg; } @@ -42,8 +41,7 @@ const TCHAR* Win32Error::twhat() const noexcept m_dwErr, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (TCHAR*)&M, - 0, NULL - ); + 0, NULL); return M; #undef M } diff --git a/c/listview.cpp b/c/listview.cpp index 27dc7ac..8f5da65 100644 --- a/c/listview.cpp +++ b/c/listview.cpp @@ -19,8 +19,7 @@ ListView::ListView(const HWND hWndParent, const HMENU hMenu, const DWORD dwStyle TEXT(""), dwStyle|WS_CHILD|WS_VISIBLE|WS_VSCROLL|WS_TABSTOP|LVS_REPORT|LVS_SHOWSELALWAYS, 0, 0, 0, 0, - m_hWndParent, hMenu, GetModuleHandle(NULL), this - ); + m_hWndParent, hMenu, GetModuleHandle(NULL), this); if (!hWnd) throw Win32Error(GetLastError()); if (SetProp(hWnd, TEXT("this"), (HANDLE)this)) @@ -118,8 +118,7 @@ int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, cons TEXT("Episode Browser"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, - NULL, NULL, hInstance, NULL - ); + NULL, NULL, hInstance, NULL); if (!hHook) throw Win32Error(GetLastError()); if (!hWnd) throw Win32Error(GetLastError()); UnhookWindowsHookEx(hHook); @@ -130,8 +129,7 @@ int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, cons (const TCHAR*)NULL, WS_CHILD|WS_VISIBLE|SBARS_SIZEGRIP, 0, 0, 0, 0, - hWnd, (HMENU)ID_STATUS, hInstance, NULL - ); + hWnd, (HMENU)ID_STATUS, hInstance, NULL); ShowWindow(hWnd, nCmdShow); |