summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-09-15 11:42:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2015-09-15 21:57:43 +0200
commit9ce1fbdefb7e334383575c0f797295a4060523a1 (patch)
tree57641d34c77294d22838438607da2dcf71357ee9
parent6a4444a3f769c3a3334e0e8454602aa0891a3c82 (diff)
downloadmupdf-9ce1fbdefb7e334383575c0f797295a4060523a1.tar.xz
epub: Fix typo in roman numeral formatting.
-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);