diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/FileTransfer.d @ 43:b98647bc0aef

swt win compiles for d2+phobos
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 17:08:05 +0100
parents d46287db17ed
children
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/FileTransfer.d	Wed Mar 25 16:13:14 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/FileTransfer.d	Wed Mar 25 17:08:05 2009 +0100
@@ -92,7 +92,7 @@
         allFiles.append(fileNames[i]);
         allFiles.append(CF_HDROP_SEPARATOR); // each name is null terminated
     }
-    TCHAR[] buffer = StrToTCHARs(0, allFiles.toString(), true); // there is an extra null terminator at the very end
+    StringT buffer = StrToTCHARs(0, allFiles.toString(), true); // there is an extra null terminator at the very end
     DROPFILES dropfiles;
     dropfiles.pFiles = DROPFILES.sizeof;
     dropfiles.pt.x = dropfiles.pt.y = 0;