X11: Fix drag and drop from non-latin paths
Fixes #25826. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
This commit is contained in:
parent
f2003b1a7e
commit
1e266d874d
1 changed files with 1 additions and 1 deletions
|
@ -2355,7 +2355,7 @@ void OS_X11::process_xevents() {
|
||||||
|
|
||||||
Vector<String> files = String((char *)p.data).split("\n", false);
|
Vector<String> files = String((char *)p.data).split("\n", false);
|
||||||
for (int i = 0; i < files.size(); i++) {
|
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);
|
main_loop->drop_files(files);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue