Fix typo & red

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21543 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-06-28 15:04:49 +00:00
parent 8f082f5f23
commit e7db6f962a

View file

@ -259,7 +259,7 @@ static int read_number (lua_State *L, int *f) {
if(i == 0) return 0;
else {
rb->lseek(*f, i-10, SEEK_CUR);
d = atoi(buf);
d = rb->atoi(buf);
lua_pushnumber(L, d);
return 1;
}