regedit: Block sorting by key value.
This commit is contained in:
parent
9061ee4e8c
commit
e428884c0c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue