From 1def017ecd5587409725d48b6107aa33aa0a0c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Tue, 26 Aug 2008 22:52:09 +0200 Subject: [PATCH] regedit: Ignore case when sorting values. --- programs/regedit/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index 0831306e35e..1091d8d3cf9 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -343,7 +343,7 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor if (g_columnToSort == 2) { /* FIXME: Sort on value */ } - return g_invertSort ? lstrcmpW(r->name, l->name) : lstrcmpW(l->name, r->name); + return g_invertSort ? lstrcmpiW(r->name, l->name) : lstrcmpiW(l->name, r->name); } HWND StartValueRename(HWND hwndLV)