summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index ef0865fc8c..882bfa0854 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -1152,7 +1152,7 @@ void lcd_puts_scroll_style_offset(int x, int y, const unsigned char *string,
1152 } 1152 }
1153 1153
1154 end = strchr(s->line, '\0'); 1154 end = strchr(s->line, '\0');
1155 strncpy(end, string, current_vp->width/2); 1155 strlcpy(end, string, current_vp->width/2);
1156 1156
1157 s->vp = current_vp; 1157 s->vp = current_vp;
1158 s->y = y; 1158 s->y = y;