mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[SHELL32][REGEDIT][MSCONFIG_NEW] Correctly check for presence of list view sort header.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user