diff options
-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) { case '-': { - if (retn) /* 0 preceeds, this negative sign must be in error */ + if (retn > 0) /* 0 preceeds, this negative sign must be in error */ goto get_digits; neg = true; continue; |