summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/html/html-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index bfb1b09e..d729c058 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -852,7 +852,7 @@ static void format_roman_number(fz_context *ctx, char *buf, int size, int n, con
{
int I = n % 10;
int X = (n / 10) % 10;
- int C = (n / 100) % 100;
+ int C = (n / 100) % 10;
int M = (n / 1000);
fz_strlcpy(buf, "", size);