forked from len0rd/rockbox
Fix warning and typos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30912 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
661311256a
commit
79ffd047ff
3 changed files with 4 additions and 4 deletions
|
|
@ -558,7 +558,7 @@ static struct buflib_callbacks ops = {
|
|||
static size_t audio_talkbuf_init(char *bufstart)
|
||||
{
|
||||
size_t ret = talkbuf_init(bufstart);
|
||||
if (bufstart > (size_t)audiobuflen) /* does the voice even fit? */
|
||||
if (ret > (size_t)audiobuflen) /* does the voice even fit? */
|
||||
{
|
||||
talk_buffer_steal();
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue