Don't forget the startup command.
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Mon, 26 Jan 2009 21:19:47 +0000 (26 16:19 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Mon, 26 Jan 2009 21:19:47 +0000 (26 16:19 -0500)
Fixes savannah bug #25348, launchpad bug #311443.

src/screen.c

index c914c59..7239560 100644 (file)
@@ -1420,6 +1420,10 @@ char **av;
          /* NOTREACHED */
        }
     }
+  else if (ac) /* Screen was invoked with a command */
+    {
+      MakeWindow(&nwin);
+    }
 
 #ifdef HAVE_BRAILLE
   StartBraille();