diff options
Diffstat (limited to 'loader2/lang.c')
-rw-r--r-- | loader2/lang.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/loader2/lang.c b/loader2/lang.c index b8223a14d..2e6fdb1bc 100644 --- a/loader2/lang.c +++ b/loader2/lang.c @@ -38,8 +38,6 @@ #include "../isys/lang.h" #include "../isys/isys.h" -static int startBterm(int flags); - struct aString { unsigned int hash; short length; @@ -229,9 +227,8 @@ static int setupLanguage(int choice, int flags) { logMessage(DEBUGLVL, "going to set language to %s", languages[choice].lc_all); /* load the language only if it is displayable. if they're using * a serial console or iSeries vioconsole, we hope it's smart enough */ - if ((!strcmp(languages[choice].font, "bterm") && !FL_SERIAL(flags) && - !FL_VIRTPCONSOLE(flags) && !isVioConsole() && startBterm(flags)) || - !strcmp(languages[choice].font, "none")) { + if ((!strcmp(languages[choice].font, "none") && !FL_SERIAL(flags) && + !FL_VIRTPCONSOLE(flags) && !isVioConsole())) { if (FL_KICKSTART(flags)) return 0; newtWinMessage("Language Unavailable", "OK", @@ -330,19 +327,6 @@ int setLanguage (char * key, int flags) { return -1; } -static int startBterm(int flags) { - int rc; - - stopNewt(); - rc = isysStartBterm(); - - /* HACK: sleep to give the console time to adjust */ - sleep(1); - - startNewt(flags); - return rc; -} - int chooseLanguage(char ** lang, int flags) { int choice = 0; char ** langs; |