diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-02-28 12:10:47 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-08-06 11:03:26 +0200 |
commit | 8c3a6b10a9b9f0818d2953473e57e69f24104b6d (patch) | |
tree | 66a2b75f035c2e8491bdcd3224909c633ba121d9 /core/os | |
parent | 18fb2afcacb401ebfa866b94f2be85da6f8feb0a (diff) |
OS: Fix used resource debug prints
These methods were broken by 22419082d9bedbc9dc060ea5784bb0871f8710a3
5 years ago and nobody complained, so maybe they're not so useful...
But at least this should restore them to a working state.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp index cdb570bb73..76a6da51e1 100644 --- a/core/os/os.cpp +++ b/core/os/os.cpp @@ -178,7 +178,7 @@ static void _OS_printres(Object *p_obj) { return; } - String str = itos(res->get_instance_id()) + String(res->get_class()) + ":" + String(res->get_name()) + " - " + res->get_path(); + String str = vformat("%s - %s - %s", res->to_string(), res->get_name(), res->get_path()); if (_OSPRF) { _OSPRF->store_line(str); } else { |