diff options
author | Matt Wilson <msw@redhat.com> | 2001-01-17 15:49:50 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-01-17 15:49:50 +0000 |
commit | 3dbbe25db85e97817f46ab504b41b527be8c56a5 (patch) | |
tree | 8f4829290805b882465bde5675dc3768eba74e89 /loader | |
parent | 839f112c68651e05f8503817eb30d606e3f85317 (diff) | |
download | anaconda-3dbbe25db85e97817f46ab504b41b527be8c56a5.tar.gz anaconda-3dbbe25db85e97817f46ab504b41b527be8c56a5.tar.xz anaconda-3dbbe25db85e97817f46ab504b41b527be8c56a5.zip |
skip Japanese if KON is not compiled in
Diffstat (limited to 'loader')
-rw-r--r-- | loader/lang.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/loader/lang.c b/loader/lang.c index 5201feed2..227b646d9 100644 --- a/loader/lang.c +++ b/loader/lang.c @@ -106,6 +106,10 @@ static void loadLanguageList(int flags) { code, keyboard, timezone) != 7) { logMessage("bad line %d in lang-table", lineNum); } else { +#ifndef INCLUDE_KON + if (!strcmp (name, "Japanese")) + continue; +#endif languages[numLanguages].lang = strdup(name); languages[numLanguages].key = strdup(key); languages[numLanguages].font = strdup(sun); @@ -311,6 +315,7 @@ int chooseLanguage(char ** lang, int flags) { numStrings = allocedStrings = 0; } +#ifdef INCLUDE_KON { extern int continuing; extern void stopNewt(void); @@ -328,6 +333,7 @@ int chooseLanguage(char ** lang, int flags) { execv(FL_TESTING(flags) ? "./loader" : "/sbin/loader", args); } } +#endif loadLanguage (NULL, flags); if (languages[choice].map) |