Don't try to show 1000 as a roman number

Fixes coverity issue 23360.
This commit is contained in:
Jean-Marc Lasgouttes 2015-02-20 15:59:19 +01:00
parent edddb47bae
commit 053d02d176

View File

@ -400,7 +400,7 @@ docstring const romanCounter(int const n)
"DC", "DCC", "DCCC", "CM"
};
if (n > 1000 || n < 1)
if (n >= 1000 || n < 1)
return from_ascii("??");
int val = n;