diff examples/draganddrop/dropsite/dropsitewindow.d @ 211:7ea67ec3cf29

another fixes in examples
author SokoL_SD
date Tue, 14 Jul 2009 12:50:04 +0000
parents aeeaae4dd540
children 8aaa84d48451
line wrap: on
line diff
--- a/examples/draganddrop/dropsite/dropsitewindow.d	Tue Jul 14 11:25:43 2009 +0000
+++ b/examples/draganddrop/dropsite/dropsitewindow.d	Tue Jul 14 12:50:04 2009 +0000
@@ -44,7 +44,7 @@
 version(Tango) {
     import tango.text.Util;
     import tango.text.Ascii;
-    import tango.text.convert.Format: format = Format;
+    import tango.text.convert.Format;
 } else {
     import std.string;
     alias strip trim;
@@ -133,7 +133,7 @@
 				QByteArray data = mimeData.data(format);
 				for (int i = 0; i < data.size() && i < 32; ++i) {
 					version(Tango)
-					    string hex = toUupper(Format("{0:x}", data.at(i)));
+					    string hex = toUpper(Format("{0:x}", data.at(i)));
 					else
 					    string hex = toupper(std.string.format("%x", data.at(i)));					
 					text ~= hex ~ " ";