meh, hit a regression again

This commit is contained in:
tg
2012-03-23 22:36:23 +00:00
parent 24e8a6996b
commit c6b498d4fe

4
main.c
View File

@ -34,7 +34,7 @@
#include <locale.h> #include <locale.h>
#endif #endif
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.208 2012/03/23 21:58:21 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/main.c,v 1.209 2012/03/23 22:36:23 tg Exp $");
extern char **environ; extern char **environ;
@ -260,7 +260,7 @@ main_init(int argc, const char *argv[], Source **sp, struct block **lp)
#ifdef TIOCGWINSZ #ifdef TIOCGWINSZ
/* try to initialise tty size before importing environment */ /* try to initialise tty size before importing environment */
tty_init(false, false); tty_init(true, false);
change_winsz(); change_winsz();
#endif #endif