summaryrefslogtreecommitdiffstats
path: root/core/string/print_string.cpp
diff options
context:
space:
mode:
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) {