Increase char array sizes to allow for null char for strcpy

This commit is contained in:
Dees_Troy 2013-01-10 15:16:02 +00:00
parent 4546fe778d
commit 3a16cb511b

View File

@ -52,7 +52,7 @@ GUIKeyboard::GUIKeyboard(xml_node<>* node)
int layoutindex, rowindex, keyindex, Xindex, Yindex, keyHeight = 0, keyWidth = 0;
rowY = colX = -1;
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_node<>* child;
xml_node<>* keylayout;