summaryrefslogtreecommitdiff
path: root/Src/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/params.c')
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
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. */