summaryrefslogtreecommitdiff
path: root/editor/code_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r--editor/code_editor.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h
index bb1791940e..e2441cec2b 100644
--- a/editor/code_editor.h
+++ b/editor/code_editor.h
@@ -84,10 +84,10 @@ class FindReplaceBar : public HBoxContainer {
uint32_t flags = 0;
- int result_line;
- int result_col;
- int results_count;
- int results_count_to_current;
+ int result_line = 0;
+ int result_col = 0;
+ int results_count = -1;
+ int results_count_to_current = -1;
bool replace_all_mode = false;
bool preserve_cursor = false;