mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 16:30:15 +00:00
demo: fix out of bounds array index usage
This commit is contained in:
parent
4993cde0cb
commit
6706623731
@ -100,7 +100,7 @@ get_break_type_name (GUnicodeBreakType type)
|
|||||||
const char *
|
const char *
|
||||||
get_combining_class_name (int cclass)
|
get_combining_class_name (int cclass)
|
||||||
{
|
{
|
||||||
const char *classes[255] = { 0, };
|
const char *classes[256] = { 0, };
|
||||||
|
|
||||||
classes[0] = "Not Reordered";
|
classes[0] = "Not Reordered";
|
||||||
classes[1] = "Overlay";
|
classes[1] = "Overlay";
|
||||||
|
Loading…
Reference in New Issue
Block a user