diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-14 13:09:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 13:09:18 +0200 |
commit | bec06b01f80ec0f99c979fc16d084e08256411b4 (patch) | |
tree | 418726aeedb38e92d372f9892a7c95422cfaad81 /editor/editor_log.cpp | |
parent | de3bc8d294d2343aca30a9939cef954c8aa7c6bd (diff) | |
parent | a08dbf3888dfac89ecb3f90e11d03a39f8cedf2b (diff) |
Merge pull request #52213 from Ev1lbl0w/fix_output_message_split
Fix messages with embedded newlines not being properly presented
Diffstat (limited to 'editor/editor_log.cpp')
-rw-r--r-- | editor/editor_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 296a33d917..f91cb7f607 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -195,7 +195,7 @@ void EditorLog::add_message(const String &p_msg, MessageType p_type) { // get grouped together and sent to the editor log as one message. This can mess with the // search functionality (see the comments on the PR above for more details). This behaviour // also matches that of other IDE's. - Vector<String> lines = p_msg.split("\n", false); + Vector<String> lines = p_msg.split("\n", true); for (int i = 0; i < lines.size(); i++) { _process_message(lines[i], p_type); |