regedit: Block sorting by key value.

This commit is contained in:
Nikolay Sivov 2015-09-15 00:01:21 +03:00 committed by Alexandre Julliard
parent 9061ee4e8c
commit e428884c0c
1 changed files with 1 additions and 0 deletions

View File

@ -337,6 +337,7 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor
return g_invertSort ? (int)r->dwValType - (int)l->dwValType : (int)l->dwValType - (int)r->dwValType; return g_invertSort ? (int)r->dwValType - (int)l->dwValType : (int)l->dwValType - (int)r->dwValType;
if (g_columnToSort == 2) { if (g_columnToSort == 2) {
/* FIXME: Sort on value */ /* FIXME: Sort on value */
return 0;
} }
return g_invertSort ? lstrcmpiW(r->name, l->name) : lstrcmpiW(l->name, r->name); return g_invertSort ? lstrcmpiW(r->name, l->name) : lstrcmpiW(l->name, r->name);
} }