1
0
Fork 0
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:
Thomas Martitz 2011-11-06 12:07:33 +00:00
parent 661311256a
commit 79ffd047ff
3 changed files with 4 additions and 4 deletions

View file

@ -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;