mirror of
https://github.com/CTCaer/CTCaer-TWRP.git
synced 2024-11-27 20:20:32 +00:00
Increase char array sizes to allow for null char for strcpy
This commit is contained in:
parent
4546fe778d
commit
3a16cb511b
@ -52,7 +52,7 @@ GUIKeyboard::GUIKeyboard(xml_node<>* node)
|
|||||||
int layoutindex, rowindex, keyindex, Xindex, Yindex, keyHeight = 0, keyWidth = 0;
|
int layoutindex, rowindex, keyindex, Xindex, Yindex, keyHeight = 0, keyWidth = 0;
|
||||||
rowY = colX = -1;
|
rowY = colX = -1;
|
||||||
highlightRenderCount = hasHighlight = 0;
|
highlightRenderCount = hasHighlight = 0;
|
||||||
char resource[9], layout[7], row[4], key[5], longpress[6];
|
char resource[10], layout[8], row[5], key[6], longpress[7];
|
||||||
xml_attribute<>* attr;
|
xml_attribute<>* attr;
|
||||||
xml_node<>* child;
|
xml_node<>* child;
|
||||||
xml_node<>* keylayout;
|
xml_node<>* keylayout;
|
||||||
|
Loading…
Reference in New Issue
Block a user