mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fix codestyle warning.
This commit is contained in:
parent
1a5cba555c
commit
5879f0849f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user