summaryrefslogtreecommitdiff
path: root/platform/x11/os_x11.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-02-28 12:47:17 +0100
committerGitHub <noreply@github.com>2019-02-28 12:47:17 +0100
commit996af809017f0e5c6f02298281fc7af835024878 (patch)
tree4b9e24dc147cb6346aadeed4c69b049e07e988ef /platform/x11/os_x11.cpp
parent38bfd2fda6901981c5f183dc202e0010b3f683d6 (diff)
parent1e266d874d7bfa9c42855238f53f5d8d70270bed (diff)
Merge pull request #26398 from akien-mga/x11-fix-unicode-dnd
X11: Fix drag and drop from non-latin paths
Diffstat (limited to 'platform/x11/os_x11.cpp')
-rw-r--r--platform/x11/os_x11.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 6a09c507c6..b7fbb89edf 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -2355,7 +2355,7 @@ void OS_X11::process_xevents() {
Vector<String> files = String((char *)p.data).split("\n", false);
for (int i = 0; i < files.size(); i++) {
- files.write[i] = files[i].replace("file://", "").replace("%20", " ").strip_escapes();
+ files.write[i] = files[i].replace("file://", "").http_unescape().strip_escapes();
}
main_loop->drop_files(files);