From 90e7607e9cd8d3c670ae4e5cb38e93eda09ae173 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Tue, 5 Mar 2019 23:41:32 +0100 Subject: [PATCH] Fix space in drop path --- Sources/arm/App.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/arm/App.hx b/Sources/arm/App.hx index 2e6167f9..7dd58253 100644 --- a/Sources/arm/App.hx +++ b/Sources/arm/App.hx @@ -53,6 +53,7 @@ class App extends iron.Trait { kha.System.notifyOnDropFiles(function(filePath:String) { dropPath = StringTools.rtrim(filePath); + dropPath = StringTools.replace(dropPath, "%20", " "); // Linux can pass %20 on drop var mouse = iron.system.Input.getMouse(); dropX = mouse.x; dropY = mouse.y;