Merge pull request #1380 from ElectricSolstice/wparentheses_removal

Changed code to remove gcc -Wparentheses warnings.
This commit is contained in:
Juan Linietsky 2015-03-22 15:05:47 -03:00
commit f706e3e5d1
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;
}