forked from len0rd/rockbox
PDBox: Use correct values of maximal string size for snprintf.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22154 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
28fbb49c0b
commit
7996e77334
10 changed files with 25 additions and 28 deletions
|
@ -712,7 +712,7 @@ static void gatom_key(void *z, t_floatarg f)
|
|||
redraw:
|
||||
/* LATER figure out how to avoid creating all these symbols! */
|
||||
#ifdef ROCKBOX
|
||||
snprintf(sbuf, sizeof(sbuf)-1, "%s...", x->a_buf);
|
||||
snprintf(sbuf, sizeof(sbuf), "%s...", x->a_buf);
|
||||
#else /* ROCKBOX */
|
||||
sprintf(sbuf, "%s...", x->a_buf);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue