diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-07 18:05:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 18:05:36 +0200 |
commit | 77e19d116efe0250863978c0df5bff55d2ef9af3 (patch) | |
tree | 455791317a565c3f70084f4a60b95c30442a3e7e /core/debugger/remote_debugger.cpp | |
parent | e59b010dc82358be905cc35fd0fb56c73cb9872b (diff) | |
parent | 5640cad1e1df4634d204e8a16ddf7c4ba34b22d0 (diff) |
Merge pull request #38522 from ThakeeNathees/printing-empty-string-fix
Fix: printing empty string does nothing in editor output pannel
Diffstat (limited to 'core/debugger/remote_debugger.cpp')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index daa607767e..97d5c71b6f 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -466,7 +466,7 @@ void RemoteDebugger::_print_handler(void *p_this, const String &p_string, bool p String s = p_string; int allowed_chars = MIN(MAX(rd->max_chars_per_second - rd->char_count, 0), s.length()); - if (allowed_chars == 0) + if (allowed_chars == 0 && s.length() > 0) return; if (allowed_chars < s.length()) { |