summary refs log tree commit diff
path: root/locale/programs/ld-paper.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-11-09 17:12:56 +0000
committerUlrich Drepper <drepper@redhat.com>2000-11-09 17:12:56 +0000
commita3212d846b4e351ad076f37b5a8906e36c00bbac (patch)
treee3827f1d8a29eb81221d7109d4891e7dbe23bee2 /locale/programs/ld-paper.c
parentbb39c4ef8f3f54d36462ea271cdcbc648b7409d7 (diff)
downloadglibc-a3212d846b4e351ad076f37b5a8906e36c00bbac.tar.gz
glibc-a3212d846b4e351ad076f37b5a8906e36c00bbac.tar.xz
glibc-a3212d846b4e351ad076f37b5a8906e36c00bbac.zip
Update.
2000-11-09  Jakub Jelinek  <jakub@redhat.com>

	* locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK.

2000-11-09  Jakub Jelinek  <jakub@redhat.com>

	* locale/programs/ld-paper.c (paper_output): Fix offset into width
	field.
Diffstat (limited to 'locale/programs/ld-paper.c')
-rw-r--r--locale/programs/ld-paper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c
index 19cf22587c..2b7c6f4f8e 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;