diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-28 12:32:37 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-28 12:32:39 +0100 |
commit | 1e266d874d7bfa9c42855238f53f5d8d70270bed (patch) | |
tree | e65002947ab623206681cbccb169848d5ef5cce0 /platform/x11 | |
parent | f2003b1a7e5d3fce6448bd578a15bbf8f9462183 (diff) |
X11: Fix drag and drop from non-latin paths
Fixes #25826.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/os_x11.cpp | 2 |
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); |