forked from AuroraMiddleware/gtk
Merge branch 'invisible-char-fix' into 'master'
textbtree: Initialize to zero the tags counting array See merge request GNOME/gtk!3740
This commit is contained in:
commit
c1af63de9b
@ -2483,6 +2483,8 @@ _gtk_text_btree_char_is_invisible (const GtkTextIter *iter)
|
||||
tagCnts = g_alloca (sizeof (int) * numTags);
|
||||
tags = g_alloca (sizeof (GtkTextTag *) * numTags);
|
||||
|
||||
memset (tagCnts, 0, sizeof (int) * numTags);
|
||||
|
||||
/*
|
||||
* Record tag toggles within the line of indexPtr but preceding
|
||||
* indexPtr.
|
||||
|
Loading…
Reference in New Issue
Block a user