Mercurial > projects > dwt-addons
changeset 117:bade933d6ef6
Fix: fix the call to tango.core.Array.sort. true only if a < b.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 08 Aug 2008 16:23:35 +0200 |
parents | 1c497c6c0ad8 |
children | a521c486e142 |
files | dwtx/jface/viewers/ViewerComparator.d |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtx/jface/viewers/ViewerComparator.d Fri Aug 08 15:12:30 2008 +0200 +++ b/dwtx/jface/viewers/ViewerComparator.d Fri Aug 08 16:23:35 2008 +0200 @@ -192,7 +192,7 @@ */ public void sort(Viewer viewer, Object[] elements) { tango.core.Array.sort(elements, delegate int(Object a, Object b) { - return compare(viewer, a, b); + return compare(viewer, a, b) < 0; } ); }