aboutsummaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-11-13 12:46:39 +0100
committerGitHub2017-11-13 12:46:39 +0100
commitfaf097d350a2a1c63ab9399355de70728a958b2d (patch)
tree0592d09981467a375c6e58b7fbb2bbe57bb61537 /editor/filesystem_dock.cpp
parent2fce0010f0d0eb2476028ed62335508bceabd820 (diff)
parent2e7345c00f0bab1114579efcf27d5a123943a9a0 (diff)
downloadgodot-faf097d350a2a1c63ab9399355de70728a958b2d.tar.gz
godot-faf097d350a2a1c63ab9399355de70728a958b2d.tar.zst
godot-faf097d350a2a1c63ab9399355de70728a958b2d.zip
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 931483976..7abddb9f6 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -333,7 +333,7 @@ void FileSystemDock::navigate_to_path(const String &p_path) {
} else if (dirAccess->dir_exists(p_path)) {
path = p_path;
} else {
- ERR_EXPLAIN(TTR("Cannot navigate to '" + p_path + "' as it has not been found in the file system!"));
+ ERR_EXPLAIN(vformat(TTR("Cannot navigate to '%s' as it has not been found in the file system!"), p_path));
ERR_FAIL();
}