1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Changed code to remove gcc -Wparentheses warnings.

This commit is contained in:
ElectricSolstice
2015-02-16 18:58:41 -08:00
parent 2bea642583
commit 0e1f34b49d
7 changed files with 12 additions and 10 deletions

View File

@@ -630,11 +630,13 @@ bool ScriptEditor::_test_script_times_on_disk() {
if (!all_ok)
if (bool(EDITOR_DEF("text_editor/auto_reload_changed_scripts",false)))
if (!all_ok) {
if (bool(EDITOR_DEF("text_editor/auto_reload_changed_scripts",false))) {
script_editor->_reload_scripts();
else
} else {
disk_changed->call_deferred("popup_centered_ratio",0.5);
}
}
return all_ok;
}