From c4ffe892043a558e293c5d3974c14beaabe038c4 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Wed, 26 Apr 2017 12:14:03 +0100 Subject: Changed indent type settings --- modules/gdscript/gd_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gdscript/gd_editor.cpp') diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index ba8df81c15..4667e541dd 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -2420,7 +2420,7 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_base String GDScriptLanguage::_get_indentation() const { #ifdef TOOLS_ENABLED if (SceneTree::get_singleton()->is_editor_hint()) { - bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", "Tabs") == "Tabs" ? 0 : 1; + bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", 0); if (use_space_indentation) { int indent_size = EDITOR_DEF("text_editor/indent/size", 4); -- cgit v1.2.3