lakka: Fix overflow possibilities when copying to icon_dir
strcpy also copies over the null-terminator as well.
This commit is contained in:
parent
abe4a489a6
commit
499209765f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue