diff options
Diffstat (limited to 'roman.c')
-rw-r--r-- | roman.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ dectoroman(int n, char *buf, ulong len) n -= decimal[i]; } } - buf[len-1] = 0; + buf[o] = 0; return 0; } |
index : libroman | ||
A library to convert between roman and decimal numbers | rgl |
aboutsummaryrefslogtreecommitdiff |