summaryrefslogtreecommitdiffstats
path: root/core/io/plist.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-10-11 16:17:49 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-10-30 15:55:51 +0100
commit38f9769bc6d560373df961880f99aaaafaae00d9 (patch)
tree4bb21478d3cefde5c03c864bbaf65a31c1f7576a /core/io/plist.cpp
parent8004c7524fb9f43425c4d6f614410a76678e0f7c (diff)
downloadredot-engine-38f9769bc6d560373df961880f99aaaafaae00d9.tar.gz
[Core] Improve error messages with `vformat`
Diffstat (limited to 'core/io/plist.cpp')
-rw-r--r--core/io/plist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/plist.cpp b/core/io/plist.cpp
index 8d91e6dec2..32e83c31f2 100644
--- a/core/io/plist.cpp
+++ b/core/io/plist.cpp
@@ -450,7 +450,7 @@ PList::PList() {
PList::PList(const String &p_string) {
String err_str;
bool ok = load_string(p_string, err_str);
- ERR_FAIL_COND_MSG(!ok, "PList: " + err_str);
+ ERR_FAIL_COND_MSG(!ok, vformat("PList: %s.", err_str));
}
uint64_t PList::read_bplist_var_size_int(Ref<FileAccess> p_file, uint8_t p_size) {