Fix codestyle warning.

This commit is contained in:
Relintai 2023-06-14 14:45:08 +02:00
parent 1a5cba555c
commit 5879f0849f

View File

@ -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 (script.is_valid() && script->get_language()->overrides_external_editor()) {
if (should_open) { if (should_open) {
Error err = script->get_language()->open_in_external_editor(script, p_line >= 0 ? p_line : 0, p_col); 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"); ERR_PRINT("Couldn't open script in the overridden external text editor");
}
} }
return false; return false;
} }