summaryrefslogtreecommitdiffstats
path: root/loader/lang.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-13 06:29:44 +0000
committerMatt Wilson <msw@redhat.com>1999-09-13 06:29:44 +0000
commitbb20c21ac383238d139fbffeece06efd8ed5620b (patch)
treee252ac9cb57da771d144e4825410797918c683ad /loader/lang.c
parentf0c6f0eabd94c0c9935fdab940fa24c140299c12 (diff)
downloadanaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.gz
anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.tar.xz
anaconda-bb20c21ac383238d139fbffeece06efd8ed5620b.zip
more changes
Diffstat (limited to 'loader/lang.c')
-rw-r--r--loader/lang.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/loader/lang.c b/loader/lang.c
index 15d725025..ba745db1a 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -213,7 +213,7 @@ static int loadFont(char * fontFile, int flags) {
return 0;
}
-int chooseLanguage(int flags) {
+int chooseLanguage(char ** lang, int flags) {
int choice = 0;
char ** langs;
int i;
@@ -246,6 +246,8 @@ int chooseLanguage(int flags) {
"during the installation process?"), 40, 5, 5, 8,
langs, &choice, _("OK"), NULL);
+ *lang = languages[choice].key;
+
if (choice == english) {
/* stick with the default (English) */
unsetenv("LANG");