X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FCounters.cpp;h=56ab1b508c1a544e6e5762aae8190a841150e54e;hb=e1d9ad9f2802875bc233122e14c8d273a95dd1ed;hp=79fe76fea9afa0d3d588c3858296643f19f300c6;hpb=edddb47bae9a29f678e083807fc12e03135f5065;p=lyx.git diff --git a/src/Counters.cpp b/src/Counters.cpp index 79fe76fea9..56ab1b508c 100644 --- a/src/Counters.cpp +++ b/src/Counters.cpp @@ -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;