From 665af5653391baa19bd678bc27d3157360edc6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 19 Jul 2022 15:35:20 +0200 Subject: Formatting. --- c/common.cpp | 6 ++---- c/listview.cpp | 3 +-- c/main.cpp | 6 ++---- 3 files changed, 5 insertions(+), 10 deletions(-) (limited to 'c') 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)) diff --git a/c/main.cpp b/c/main.cpp index e9fa562..5dd5833 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -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); -- cgit v1.2.3