aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index ed0e7a2aae8..1f17a30272c 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -544,10 +544,8 @@ ns_init_locale (void)
544 NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8", 544 NSString *localeID = [NSString stringWithFormat:@"%@.UTF-8",
545 [locale localeIdentifier]]; 545 [locale localeIdentifier]];
546 546
547 /* Set LANG and LC_ALL to locale, but not if the variables are 547 /* Set LANG to locale, but not if LANG is already set. */
548 already set. */
549 setenv("LANG", [localeID UTF8String], 0); 548 setenv("LANG", [localeID UTF8String], 0);
550 setenv("LC_ALL", [localeID UTF8String], 0);
551 } 549 }
552 @catch (NSException *e) 550 @catch (NSException *e)
553 { 551 {