diff options
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/dietstubs.c | 3 | ||||
-rw-r--r-- | loader2/lang.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/loader2/dietstubs.c b/loader2/dietstubs.c index 49bef28b0..755ad3ed1 100644 --- a/loader2/dietstubs.c +++ b/loader2/dietstubs.c @@ -192,6 +192,7 @@ char *setlocale (int category, const char *locale) { return 0; } +#ifdef GZLIB void *gzopen(const char *file) { return gunzip_open(file); } @@ -203,4 +204,4 @@ int gzread(void *str, void * buf, int bytes) { int gzclose(void *str) { return gunzip_close(str); } - +#endif diff --git a/loader2/lang.c b/loader2/lang.c index b9708a472..44b7df48c 100644 --- a/loader2/lang.c +++ b/loader2/lang.c @@ -299,7 +299,7 @@ int chooseLanguage(char ** lang, int flags) { /* load the language only if it is displayable */ /* disable until working */ - if (!strcmp(languages[choice].font, "bterm") && (1 || startBterm(flags))) { + if (!strcmp(languages[choice].font, "bterm") && startBterm(flags)) { newtWinMessage("Language Unavailable", "OK", "%s display is unavailable in text mode. The " "installation will continue in English until the " |