[REGEDIT]
authorEric Kohl <eric.kohl@reactos.org>
Sun, 23 May 2010 20:41:03 +0000 (20:41 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Sun, 23 May 2010 20:41:03 +0000 (20:41 +0000)
Ignore the case when sorting value names.

svn path=/trunk/; revision=47334

reactos/base/applications/regedit/listview.c

index 6e95a86..12cfa89 100644 (file)
@@ -380,7 +380,7 @@ static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSor
     if (g_columnToSort == 2) {
         /* FIXME: Sort on value */
     }
-    return g_invertSort ? _tcscmp(r->name, l->name) : _tcscmp(l->name, r->name);
+    return g_invertSort ? _tcsicmp(r->name, l->name) : _tcsicmp(l->name, r->name);
 }
 
 BOOL ListWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)