about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/params.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f806927e..a93dba138 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-14  Peter Stephenson  <pws@csr.com>
+
+	* Noted by Wayne: 23437; Src/params.c: typo in 23436.
+
 2007-05-13  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 23435: Nikolai Weibull: Src/sort.c: bug testing for end
diff --git a/Src/params.c b/Src/params.c
index 4a813a089..ed8b4a412 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -3471,7 +3471,7 @@ lcsetfn(Param pm, char *x)
     struct localename *ln;
 
     strsetfn(pm, x);
-    if ((x2 = getsparam("LC_ALL")) && *x)
+    if ((x2 = getsparam("LC_ALL")) && *x2)
 	return;
     queue_signals();
     /* Treat empty LC_* the same as unset. */