about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-14 09:20:46 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-14 09:20:46 +0000
commitf1a53402e86145c7adec04ecf9e88746ee435c83 (patch)
tree61e09c03edd8c0d5bcf22d822903eaf0ab11f575
parent0aece08ded7448746a91f33233f0ef94ba10b936 (diff)
downloadglibc-f1a53402e86145c7adec04ecf9e88746ee435c83.tar.gz
glibc-f1a53402e86145c7adec04ecf9e88746ee435c83.tar.xz
glibc-f1a53402e86145c7adec04ecf9e88746ee435c83.zip
Update.
2000-03-14  Andreas Jaeger  <aj@suse.de>

	* locale/localeconv.c (localeconv): Fix typo.
	Reported by Andre Charbonneau <andrec@corel.com>.
-rw-r--r--ChangeLog5
-rw-r--r--locale/localeconv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8dff2f2129..1db690992f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-14  Andreas Jaeger  <aj@suse.de>
+
+	* locale/localeconv.c (localeconv): Fix typo.
+	Reported by Andre Charbonneau <andrec@corel.com>.
+
 2000-03-14  Ulrich Drepper  <drepper@redhat.com>
 
 	* iconv/skeleton.c: Increment __invocation_counter in inner loop
diff --git a/locale/localeconv.c b/locale/localeconv.c
index 9b8061ad1c..14c6102568 100644
--- a/locale/localeconv.c
+++ b/locale/localeconv.c
@@ -43,7 +43,7 @@ localeconv (void)
   result.frac_digits = *(char *) _NL_CURRENT (LC_MONETARY, FRAC_DIGITS);
   result.p_cs_precedes = *(char *) _NL_CURRENT (LC_MONETARY, P_CS_PRECEDES);
   result.p_sep_by_space = *(char *) _NL_CURRENT (LC_MONETARY, P_SEP_BY_SPACE);
-  result.n_cs_precedes = *(char *) _NL_CURRENT (LC_MONETARY, P_CS_PRECEDES);
+  result.n_cs_precedes = *(char *) _NL_CURRENT (LC_MONETARY, N_CS_PRECEDES);
   result.n_sep_by_space = *(char *) _NL_CURRENT (LC_MONETARY, N_SEP_BY_SPACE);
   result.p_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, P_SIGN_POSN);
   result.n_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, N_SIGN_POSN);