+ else {
+ VikWindow *newvw = first_window;
+ gboolean change_filename = (i == 1);
+
+ // Open any subsequent .vik files in their own window
+ if ( i > 1 && check_file_magic_vik ( argv[i] ) ) {
+ newvw = vik_window_new_window ();
+ change_filename = TRUE;
+ }
+
+ vik_window_open_file ( newvw, argv[i], change_filename );
+ }