summaryrefslogtreecommitdiffstats
path: root/perl-install/Newt/Newt.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-03 06:26:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-03 06:26:47 +0000
commit3237592af5967731e85294ff611ad2c62d58a222 (patch)
tree1fc6fc086a670500e34cdb9e133d3d9d20629ca8 /perl-install/Newt/Newt.xs
parent080c9d47e2f45a309149cb4636f7f57ac3eb4d39 (diff)
downloaddrakx-3237592af5967731e85294ff611ad2c62d58a222.tar
drakx-3237592af5967731e85294ff611ad2c62d58a222.tar.gz
drakx-3237592af5967731e85294ff611ad2c62d58a222.tar.bz2
drakx-3237592af5967731e85294ff611ad2c62d58a222.tar.xz
drakx-3237592af5967731e85294ff611ad2c62d58a222.zip
- we need unicode_start, which need kbd_mode and a real "echo" command
- initialize newt (and so slang) with a fake en_US.UTF-8 locale during install (and it works better when slang does its setlocale, i don't know why)
Diffstat (limited to 'perl-install/Newt/Newt.xs')
-rw-r--r--perl-install/Newt/Newt.xs5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs
index fee23d388..caf961692 100644
--- a/perl-install/Newt/Newt.xs
+++ b/perl-install/Newt/Newt.xs
@@ -31,9 +31,10 @@ DESTROY()
}
int
-newtInit()
+newtInit(setlocale)
+ int setlocale
CODE:
- SLsmg_Setlocale = 0;
+ SLsmg_Setlocale = setlocale;
newtInit();
int