You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
[X11] Improving error detection in move_to_trash
(cherry picked from commit 268d7c7c5b)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
fd033473c7
commit
4bdcee2b9d
@@ -361,6 +361,7 @@ Error DirAccessUnix::rename(String p_path, String p_new_path) {
|
||||
|
||||
return ::rename(p_path.utf8().get_data(), p_new_path.utf8().get_data()) == 0 ? OK : FAILED;
|
||||
}
|
||||
|
||||
Error DirAccessUnix::remove(String p_path) {
|
||||
|
||||
if (p_path.is_rel_path())
|
||||
|
||||
Reference in New Issue
Block a user