summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index cf3e39d..7239560 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1420,6 +1420,10 @@ char **av;
/* NOTREACHED */
}
}
+ else if (ac) /* Screen was invoked with a command */
+ {
+ MakeWindow(&nwin);
+ }
#ifdef HAVE_BRAILLE
StartBraille();
@@ -1455,7 +1459,11 @@ char **av;
void
WindowDied(p, wstat, wstat_valid)
struct win *p;
-int wstat;
+#ifdef BSDWAIT
+ union wait wstat;
+#else
+ int wstat;
+#endif
int wstat_valid;
{
int killit = 0;