diff dwt/custom/TableCursor.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents a5afe31f5cdd
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/custom/TableCursor.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/custom/TableCursor.d	Mon May 05 00:12:38 2008 +0200
@@ -438,12 +438,12 @@
         gc.drawImage(image, x, imageY);
         x += imageSize.width;
     }
-    char[] text = row.getText(columnIndex);
+    String text = row.getText(columnIndex);
     if (text.length > 0) {
         Rectangle bounds = row.getBounds(columnIndex);
         Point extent = gc.stringExtent(text);
         // Temporary code - need a better way to determine table trim
-        char[] platform = DWT.getPlatform();
+        String platform = DWT.getPlatform();
         if ("win32"==platform) { //$NON-NLS-1$
             if (table.getColumnCount() is 0 || columnIndex is 0) {
                 x += 2;