From 9165a8f99b67acf07f5a30e481885d72660026b7 Mon Sep 17 00:00:00 2001 From: sabetts Date: Mon, 14 Apr 2003 01:13:28 +0000 Subject: *** empty log message *** --- src/main.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/main.c b/src/main.c index d6b6eab..43a65cd 100644 --- a/src/main.c +++ b/src/main.c @@ -605,22 +605,17 @@ main (int argc, char *argv[]) if (screen_arg) { - if (screen_num >= 0 && screen_num < num_screens) - { - init_screen (&screens[screen_num], screen_num); - } - else + if (screen_num < 0 || screen_num >= num_screens) { fprintf (stderr, "%d is an invalid screen for the display\n", screen_num); exit (EXIT_FAILURE); } } - else + + for (i=0; i