mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:53:02 +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
|
@ -478,7 +478,7 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor
|
|||
|
||||
static BOOL ListView_Sort(HWND hListView, int iSortingColumn, int iSortedColumn)
|
||||
{
|
||||
if ( (GetWindowLongPtr(hListView, GWL_STYLE) & ~LVS_NOSORTHEADER) &&
|
||||
if (!(GetWindowLongPtr(hListView, GWL_STYLE) & LVS_NOSORTHEADER) &&
|
||||
(iSortingColumn >= 0) )
|
||||
{
|
||||
BOOL bSortAscending;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue