lakka: Fix overflow possibilities when copying to icon_dir

strcpy also copies over the null-terminator as well.
This commit is contained in:
Lioncash 2014-08-08 21:03:35 -04:00
parent abe4a489a6
commit 499209765f

View File

@ -63,7 +63,7 @@ float title_margin_top;
float label_margin_left;
float label_margin_top;
int icon_size;
char icon_dir[3];
char icon_dir[4];
float above_subitem_offset;
float above_item_offset;
float active_item_factor;