diff options
| author | Nils Wallménius <nils@rockbox.org> | 2009-07-14 14:15:33 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2009-07-14 14:15:33 +0000 |
| commit | 5905b0be3e92aed0aec499a8429bc805baee03c6 (patch) | |
| tree | a76b685439323ec6b150385c953a500ca7c6fea8 | |
| parent | 3d4701a6e41616cf581a297bab1451cf2db70249 (diff) | |
| download | rockbox-5905b0be3e92aed0aec499a8429bc805baee03c6.zip rockbox-5905b0be3e92aed0aec499a8429bc805baee03c6.tar.gz rockbox-5905b0be3e92aed0aec499a8429bc805baee03c6.tar.bz2 rockbox-5905b0be3e92aed0aec499a8429bc805baee03c6.tar.xz | |
Missed one strncpy call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21864 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/drivers/lcd-2bit-horz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c index 70f7261..463eece 100644 --- a/firmware/drivers/lcd-2bit-horz.c +++ b/firmware/drivers/lcd-2bit-horz.c @@ -1107,7 +1107,7 @@ void lcd_puts_scroll_style_offset(int x, int y, const unsigned char *string, } end = strchr(s->line, '\0'); - strncpy(end, (char *)string, current_vp->width/2); + strlcpy(end, (char *)string, current_vp->width/2); s->vp = current_vp; s->y = y; |