You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix: printing empty string does nothing in editor output pannel
Fix: #38490
(cherry picked from commit 5640cad1e1)
This commit is contained in:
committed by
Rémi Verschelde
parent
9828c6bc86
commit
7bc293b081
@@ -1150,7 +1150,7 @@ void ScriptDebuggerRemote::_print_handler(void *p_this, const String &p_string,
|
||||
String s = p_string;
|
||||
int allowed_chars = MIN(MAX(sdr->max_cps - sdr->char_count, 0), s.length());
|
||||
|
||||
if (allowed_chars == 0)
|
||||
if (allowed_chars == 0 && s.length() > 0)
|
||||
return;
|
||||
|
||||
if (allowed_chars < s.length()) {
|
||||
|
||||
Reference in New Issue
Block a user