aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-19 15:35:20 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-19 15:35:20 +0200
commit665af5653391baa19bd678bc27d3157360edc6fc (patch)
tree8c8e121502edf121092f0548bbd96fdf4410b505 /c
parent54914d64a3d4564f470177dd8b7675bc46ecbe0b (diff)
downloadEpisodeBrowser-665af5653391baa19bd678bc27d3157360edc6fc.tar.gz
Formatting.
Diffstat (limited to 'c')
-rw-r--r--c/common.cpp6
-rw-r--r--c/listview.cpp3
-rw-r--r--c/main.cpp6
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))
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);