diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-14 13:39:55 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-14 13:39:55 +0200 |
commit | 262c680a9ed7a693db8c6cc694e44c6e1ea337b2 (patch) | |
tree | 5f46888760e154d622f5575a3287f1d93994d949 | |
parent | fa4eaa3d572a9bb2bebbf9da15c7e8445a10dfc1 (diff) | |
download | EpisodeBrowser-262c680a9ed7a693db8c6cc694e44c6e1ea337b2.tar.gz |
Code style.
-rw-r--r-- | c/listview.cpp | 3 |
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, |