summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-12-08 15:53:42 +0100
committerGitHub <noreply@github.com>2020-12-08 15:53:42 +0100
commit90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (patch)
tree22e25092f8a56af0c467442baa763f7a2db1c7cb /modules/gdscript
parentedb3686ee2379ad28d1273797db8bd9ded38ff1e (diff)
parente1811b689b6854668ca690831df8603820b68573 (diff)
Merge pull request #43742 from qarmin/editor_modules_default_values
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/editor/gdscript_highlighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/editor/gdscript_highlighter.h b/modules/gdscript/editor/gdscript_highlighter.h
index 49357f3d2e..e38647eaab 100644
--- a/modules/gdscript/editor/gdscript_highlighter.h
+++ b/modules/gdscript/editor/gdscript_highlighter.h
@@ -42,7 +42,7 @@ private:
Color color;
String start_key;
String end_key;
- bool line_only;
+ bool line_only = false;
};
Vector<ColorRegion> color_regions;
Map<int, int> color_region_cache;