aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Text.c b/generic/Text.c
index f9743bb..73579ae 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -1262,8 +1262,8 @@ MoveFromIndex(TextItem text,
int index,
int move)
{
- int num_lines, num_chars;
- int line_index, line_start;
+ int num_lines, num_chars=0;
+ int line_index, line_start=0;
TextLineInfo lines, p;
char *strp;