summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-04-26 19:31:36 +0200
committerGitHub <noreply@github.com>2017-04-26 19:31:36 +0200
commit5993a5fac9a108297fc7909d1a38abac471d037d (patch)
treed6f83c45eeb68063d6d85eb9e7fae0d5914242e7 /modules
parent4759be3c4bcd0964480a428b17a9680401d6d9b1 (diff)
parentc4ffe892043a558e293c5d3974c14beaabe038c4 (diff)
Merge pull request #8544 from Paulb23/indent_type_setting
Changed indent type settings
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
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);