mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Don't try to show 1000 as a roman number
Fixes coverity issue 23360.
This commit is contained in:
parent
edddb47bae
commit
053d02d176
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user