diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/PopupList.d @ 51:c01d033c633a

[swt lin]
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 19:58:06 +0100
parents f713da8bc051
children 536e43f63c81
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/PopupList.d	Fri Mar 27 15:30:20 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/PopupList.d	Fri Mar 27 19:58:06 2009 +0100
@@ -228,7 +228,7 @@
     // specified string
     if (string !is null){
         for (int i = 0; i < items.length; i++) {
-            if ( tango.text.Util.locatePattern( items[i], string) is 0 ){
+            if ( items[i].startsWith( string) ){
                 int index = list.indexOf(items[i]);
                 list.select(index);
                 break;