Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void context_manager::set_window_title(const std::string& filename)
- {
- std::string e_title_string = _("The Battle For Wesnoth");
- e_title_string += " - " + filesystem::base_name(filename);
- SDL_WM_SetCaption(e_title_string.c_str(), NULL);
- }
Advertisement
Add Comment
Please, Sign In to add comment