[at-spi2-core: 2/10] atk_text_real_get_bounded_ranges: initialize the offset values
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core: 2/10] atk_text_real_get_bounded_ranges: initialize the offset values
- Date: Tue, 5 Jul 2022 00:28:52 +0000 (UTC)
commit b45ce3cf655fa18c6705c633ea2debd4115ffb51
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Jul 4 17:52:42 2022 -0500
atk_text_real_get_bounded_ranges: initialize the offset values
atk/atktext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/atk/atktext.c b/atk/atktext.c
index ef489fc1..95b91f92 100644
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -1519,8 +1519,8 @@ atk_text_real_get_bounded_ranges (AtkText *text,
AtkTextClipType y_clip_type)
{
gint bounds_min_offset, bounds_max_offset;
- gint min_line_start, min_line_end;
- gint max_line_start, max_line_end;
+ gint min_line_start = 0, min_line_end = 0;
+ gint max_line_start = 0, max_line_end = 0;
gchar *line;
gint curr_offset;
gint offset;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]