aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.c b/test.c
index fb71a58..d0532d8 100644
--- a/test.c
+++ b/test.c
@@ -29,7 +29,7 @@ main(int argc, char *argv[])
if(argc != 0)
usage();
- if(decimal >= 0){
+ if(decimal > 0){
if(dectoroman(decimal, buf, sizeof buf) < 0)
sysfatal("dectoroman: %r");
print("%s\n", buf);