summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/lua/liolib.c2
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 }