diff options
Diffstat (limited to 'apps/plugins/lua/rockaux.c')
-rw-r--r-- | apps/plugins/lua/rockaux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/rockaux.c b/apps/plugins/lua/rockaux.c index 929dea798b..c4af2b3e96 100644 --- a/apps/plugins/lua/rockaux.c +++ b/apps/plugins/lua/rockaux.c | |||
@@ -257,7 +257,7 @@ int filetol(int fd, long *num) | |||
257 | { | 257 | { |
258 | case '-': | 258 | case '-': |
259 | { | 259 | { |
260 | if (retn) /* 0 preceeds, this negative sign must be in error */ | 260 | if (retn > 0) /* 0 preceeds, this negative sign must be in error */ |
261 | goto get_digits; | 261 | goto get_digits; |
262 | neg = true; | 262 | neg = true; |
263 | continue; | 263 | continue; |