diff options
Diffstat (limited to 'locale/programs/ld-paper.c')
-rw-r--r-- | locale/programs/ld-paper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c index 19cf225..2b7c6f4 100644 --- a/locale/programs/ld-paper.c +++ b/locale/programs/ld-paper.c @@ -138,7 +138,7 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap, iov[cnt].iov_len = 4; ++cnt; - idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len; + idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; iov[cnt].iov_base = &paper->width; iov[cnt].iov_len = 4; ++cnt; |