From 3a16cb511be5f6cfef66c5a2c222a7f79e7e3b6a Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Thu, 10 Jan 2013 15:16:02 +0000 Subject: Increase char array sizes to allow for null char for strcpy --- gui/keyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/keyboard.cpp b/gui/keyboard.cpp index f44e56357..b74ff561a 100644 --- a/gui/keyboard.cpp +++ b/gui/keyboard.cpp @@ -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; -- cgit v1.2.3