diff org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/DateTime.d @ 49:7a2dd761a8b2

more work until dmd 2.026 linux segfaults.
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 12:59:54 +0100
parents ddbfe84d86df
children c01d033c633a
line wrap: on
line diff
--- a/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/DateTime.d	Fri Mar 27 12:05:20 2009 +0100
+++ b/org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/DateTime.d	Fri Mar 27 12:59:54 2009 +0100
@@ -31,9 +31,10 @@
 import org.eclipse.swt.widgets.Text;
 import org.eclipse.swt.widgets.TypedListener;
 
+import java.lang.all;
+
 version(Tango){
 import tango.util.Convert;
-import java.lang.all;
 
 static import tango.text.Util;
 //static import tango.text.locale.Core;
@@ -986,8 +987,8 @@
     if (index !is currentField) {
         commitCurrentField();
     }
-    final int start = fieldIndices[index].x;
-    final int end = fieldIndices[index].y;
+    int start = fieldIndices[index].x;
+    int end = fieldIndices[index].y;
     Point pt = text.getSelection();
     if (index is currentField && start is pt.x && end is pt.y) return;
     currentField = index;