aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-09 09:00:49 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-09 09:00:49 +1000
commit906495d713fa6e773ccd093143c34336361f28c8 (patch)
tree0af3bca4ae92a1d12ea8ebee539d9668175a38ee /fish_pager.c
parent690648e1b0a04db179d113e2900dde52d0e7f67f (diff)
Improve locale implementation (should now behave identically to bash) and document locale variables behaviour
darcs-hash:20060108230049-ac50b-403f1d00c8483fc4fecc275b62e40b1c3d51bfc1.gz
Diffstat (limited to 'fish_pager.c')
-rw-r--r--fish_pager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fish_pager.c b/fish_pager.c
index 9131e791..6669a04e 100644
--- a/fish_pager.c
+++ b/fish_pager.c
@@ -845,8 +845,7 @@ static void init()
{
struct sigaction act;
program_name = L"fish_pager";
- fish_setlocale( LC_ALL, L"" );
-
+ wsetlocale( LC_ALL, L"" );
int out = dup( 1 );
close(1);