Skip to content

Commit

Permalink
SDL: Move window title setting to base
Browse files Browse the repository at this point in the history
  • Loading branch information
vasi committed Apr 24, 2013
1 parent b2e5125 commit fed9536
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BasiliskII/src/SDL/video_sdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,9 @@ void driver_base::init()
// Hide cursor
SDL_ShowCursor(hardware_cursor);

// Set window name/class
set_window_name(STR_WINDOW_TITLE);

// Everything went well
init_ok = true;
}
Expand Down Expand Up @@ -817,9 +820,6 @@ void driver_window::init()
return;

driver_base::init();

// Set window name/class
set_window_name(STR_WINDOW_TITLE);
}

// Close display
Expand Down

0 comments on commit fed9536

Please sign in to comment.