diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-28 15:04:49 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-06-28 15:04:49 +0000 |
commit | e7db6f962a6197c3f1f16e805fda1156fc605cb6 (patch) | |
tree | 920a6df17c8138b19ba21f077c7599b064d5c5bc | |
parent | 8f082f5f233ecbd77fdf22a2ca22aa0745338d52 (diff) | |
download | rockbox-e7db6f962a6197c3f1f16e805fda1156fc605cb6.tar.gz rockbox-e7db6f962a6197c3f1f16e805fda1156fc605cb6.zip |
Fix typo & red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21543 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/lua/liolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/liolib.c b/apps/plugins/lua/liolib.c index 2ea52b854b..76c758e363 100644 --- a/apps/plugins/lua/liolib.c +++ b/apps/plugins/lua/liolib.c | |||
@@ -259,7 +259,7 @@ static int read_number (lua_State *L, int *f) { | |||
259 | if(i == 0) return 0; | 259 | if(i == 0) return 0; |
260 | else { | 260 | else { |
261 | rb->lseek(*f, i-10, SEEK_CUR); | 261 | rb->lseek(*f, i-10, SEEK_CUR); |
262 | d = atoi(buf); | 262 | d = rb->atoi(buf); |
263 | lua_pushnumber(L, d); | 263 | lua_pushnumber(L, d); |
264 | return 1; | 264 | return 1; |
265 | } | 265 | } |