From 9ce1fbdefb7e334383575c0f797295a4060523a1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 15 Sep 2015 11:42:39 +0200 Subject: epub: Fix typo in roman numeral formatting. --- source/html/html-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3