Nikolay Sivov : regedit: Block sorting by key value.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 15 09:50:49 CDT 2015


Module: wine
Branch: master
Commit: e428884c0c9e05d9f04aa058538c1fbf91de4669
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e428884c0c9e05d9f04aa058538c1fbf91de4669

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Sep 15 00:01:21 2015 +0300

regedit: Block sorting by key value.

---

 programs/regedit/listview.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c
index 6559116..d11d859 100644
--- a/programs/regedit/listview.c
+++ b/programs/regedit/listview.c
@@ -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;
     if (g_columnToSort == 2) {
         /* FIXME: Sort on value */
+        return 0;
     }
     return g_invertSort ? lstrcmpiW(r->name, l->name) : lstrcmpiW(l->name, r->name);
 }




More information about the wine-cvs mailing list