Merge pull request #26398 from akien-mga/x11-fix-unicode-dnd
X11: Fix drag and drop from non-latin paths
This commit is contained in:
commit
996af80901
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue