aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-14 13:39:55 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-14 13:39:55 +0200
commit262c680a9ed7a693db8c6cc694e44c6e1ea337b2 (patch)
tree5f46888760e154d622f5575a3287f1d93994d949 /c
parentfa4eaa3d572a9bb2bebbf9da15c7e8445a10dfc1 (diff)
downloadEpisodeBrowser-262c680a9ed7a693db8c6cc694e44c6e1ea337b2.tar.gz
Code style.
Diffstat (limited to 'c')
-rw-r--r--c/listview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/c/listview.cpp b/c/listview.cpp
index f38b952..cce1461 100644
--- a/c/listview.cpp
+++ b/c/listview.cpp
@@ -11,8 +11,7 @@ static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
ListView::ListView(HMENU hMenu, DWORD dwStyle)
{
- if (dwStyle & LVS_NOCOLUMNHEADER)
- m_bHeader = 0;
+ m_bHeader = !(dwStyle & LVS_NOCOLUMNHEADER);
m_hWnd = CreateWindowEx(
WS_EX_CLIENTEDGE,