mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 02:33:38 +00:00
[SHELL32][REGEDIT][MSCONFIG_NEW] Correctly check for presence of list view sort header.
This commit is contained in:
parent
e3d000c30e
commit
ba8f75557a
3 changed files with 3 additions and 3 deletions
|
@ -698,7 +698,7 @@ BOOL CDefView::_Sort()
|
|||
HWND hHeader;
|
||||
HDITEM hColumn;
|
||||
|
||||
if ((m_ListView.GetWindowLongPtr(GWL_STYLE) & ~LVS_NOSORTHEADER) == 0)
|
||||
if (m_ListView.GetWindowLongPtr(GWL_STYLE) & LVS_NOSORTHEADER)
|
||||
return TRUE;
|
||||
|
||||
hHeader = (HWND)m_ListView.SendMessage(LVM_GETHEADER, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue