|
@@ -374,12 +374,12 @@ int main(int argc, char **argv)
|
|
|
if (G_parser(argc, argv))
|
|
|
exit(EXIT_FAILURE);
|
|
|
|
|
|
- G_get_set_window(&window);
|
|
|
-
|
|
|
if (D_open_driver() != 0)
|
|
|
G_fatal_error(_("No graphics device selected. "
|
|
|
"Use d.mon to select graphics device."));
|
|
|
|
|
|
+ G_get_set_window(&window);
|
|
|
+
|
|
|
/* Read map options */
|
|
|
|
|
|
/* Check min/max region */
|