Builder4/WindowLeftTree.vala
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 08:28:39 +0000 (16:28 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 08:28:39 +0000 (16:28 +0800)
Builder4/WindowLeftTree.vala

index 6640aa1..4709795 100644 (file)
@@ -559,7 +559,7 @@ public class Xcls_WindowLeftTree : Object
                     
                     // if drag action is link ... then we can drop it anywahere...
                      if ((ctx.get_actions() & Gdk.DragAction.LINK) > 0) {
-                             targetData = path.to_string() + "|%d".format(pos);
+                             targetData = path.to_string() + "|%d".format((int)pos);
                      } else {