diff options
-rw-r--r-- | loader2/lang.c | 3 | ||||
-rw-r--r-- | loader2/loader.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/loader2/lang.c b/loader2/lang.c index b7c3eabc4..de1cd631c 100644 --- a/loader2/lang.c +++ b/loader2/lang.c @@ -297,9 +297,8 @@ int chooseLanguage(char ** lang, int flags) { "display of %s is possible.", languages[choice].lang, languages[choice].lang); return 0; - } else { - setLanguage (languages[choice].key, flags); } + setLanguage (languages[choice].key, flags); /* clear out top line */ buf = alloca(80); diff --git a/loader2/loader.c b/loader2/loader.c index e213013d1..0e8316acb 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -187,6 +187,7 @@ void initializeConsole(moduleList modLoaded, moduleDeps modDeps, mlLoadModuleSet("vga16fb", modLoaded, modDeps, modInfo, flags); /* enable UTF-8 console */ printf("\033%G"); + fflush(stdout); isysLoadFont(); } @@ -218,6 +219,7 @@ static void spawnShell(int flags) { /* enable UTF-8 console */ printf("\033%G"); + fflush(stdout); isysLoadFont(); if (ioctl(0, TIOCSCTTY, NULL)) { |