From 5879f0849fb862101948b00db270b181ccf7bdc0 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 14 Jun 2023 14:45:08 +0200 Subject: [PATCH] Fix codestyle warning. --- editor_modules/editor_code_editor/editor_script_editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor_modules/editor_code_editor/editor_script_editor.cpp b/editor_modules/editor_code_editor/editor_script_editor.cpp index ee2ee7326..e356c6046 100644 --- a/editor_modules/editor_code_editor/editor_script_editor.cpp +++ b/editor_modules/editor_code_editor/editor_script_editor.cpp @@ -1980,8 +1980,9 @@ bool EditorScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool if (script.is_valid() && script->get_language()->overrides_external_editor()) { if (should_open) { Error err = script->get_language()->open_in_external_editor(script, p_line >= 0 ? p_line : 0, p_col); - if (err != OK) + if (err != OK) { ERR_PRINT("Couldn't open script in the overridden external text editor"); + } } return false; }