summaryrefslogtreecommitdiffstats
path: root/core/string/print_string.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-09-12 12:02:02 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-09-12 12:02:02 +0200
commitcc61c9d63d947b12b45a671c657e568cdcbd2bad (patch)
treeaa42727334245a6a264aaaf83a1564f6219083f1 /core/string/print_string.cpp
parent38ca83e16f09ff977e5197e103c73168a0b5de70 (diff)
parent893f889d74b35bb7330c3ff3d0187042770a4490 (diff)
downloadredot-engine-cc61c9d63d947b12b45a671c657e568cdcbd2bad.tar.gz
Merge pull request #81487 from AThousandShips/null_check_core
[Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
Diffstat (limited to 'core/string/print_string.cpp')
-rw-r--r--core/string/print_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/print_string.cpp b/core/string/print_string.cpp
index dcdde3c175..e3614be359 100644
--- a/core/string/print_string.cpp
+++ b/core/string/print_string.cpp
@@ -65,7 +65,7 @@ void remove_print_handler(const PrintHandlerList *p_handler) {
//OS::get_singleton()->print("print handler list is %p\n",print_handler_list);
_global_unlock();
- ERR_FAIL_COND(l == nullptr);
+ ERR_FAIL_NULL(l);
}
void __print_line(String p_string) {