diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/PopupList.d @ 9:950d84783eac

Removing direct tango deps.
author Frank Benoit <benoit@tionex.de>
date Mon, 09 Mar 2009 14:26:40 +0100
parents 6dd524f61e62
children
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/PopupList.d	Thu Mar 05 15:12:35 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/PopupList.d	Mon Mar 09 14:26:40 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;