about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-05-14 09:25:30 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-05-14 09:25:30 +0000
commit3be3ca88057e8e735f4b931ad9177cb5aba97271 (patch)
treef50ec2d0874fbd265c7517b88060d726cf2975e8
parent4bfa5cd4215a9994b3c6da291d8b52f2c0f6553d (diff)
downloadzsh-3be3ca88057e8e735f4b931ad9177cb5aba97271.tar.gz
zsh-3be3ca88057e8e735f4b931ad9177cb5aba97271.tar.xz
zsh-3be3ca88057e8e735f4b931ad9177cb5aba97271.zip
23437: typo noted by Wayne
-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. */