You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix icons with non-ASCII file names in project manager.
(cherry picked from commit abe413ff8c)
This commit is contained in:
committed by
Rémi Verschelde
parent
a6c6104ae7
commit
c477d248c6
@@ -311,7 +311,7 @@ String ResourceUID::get_path_from_cache(Ref<FileAccess> &p_cache_file, const Str
|
|||||||
ERR_FAIL_COND_V(rl != len, String());
|
ERR_FAIL_COND_V(rl != len, String());
|
||||||
|
|
||||||
if (singleton->id_to_text(id) == p_uid_string) {
|
if (singleton->id_to_text(id) == p_uid_string) {
|
||||||
return String(cs);
|
return String::utf8(cs.get_data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return String();
|
return String();
|
||||||
|
|||||||
Reference in New Issue
Block a user