mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +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 *
|
||||
get_combining_class_name (int cclass)
|
||||
{
|
||||
const char *classes[255] = { 0, };
|
||||
const char *classes[256] = { 0, };
|
||||
|
||||
classes[0] = "Not Reordered";
|
||||
classes[1] = "Overlay";
|
||||
|
Loading…
Reference in New Issue
Block a user