Improve the title bar string also on the editor
(following Soliton's commit)
This commit is contained in:
parent
8398b7c44a
commit
b707512c43
2 changed files with 6 additions and 6 deletions
|
@ -485,9 +485,9 @@ void map_editor::change_language() {
|
|||
|
||||
// Update the frame title
|
||||
wm_title_string = _("Battle for Wesnoth Map Editor");
|
||||
wm_title_string += " (";
|
||||
wm_title_string += game_config::version;
|
||||
wm_title_string += ")";
|
||||
wm_title_string += " - " + game_config::version
|
||||
+ (game_config::svnrev.empty() ? "" :
|
||||
" (" + game_config::svnrev + ")");
|
||||
SDL_WM_SetCaption(wm_title_string.c_str(), NULL);
|
||||
|
||||
font::load_font_config();
|
||||
|
|
|
@ -297,9 +297,9 @@ int main(int argc, char** argv)
|
|||
|
||||
// Set the caption of the window
|
||||
wm_title_string = _("Battle for Wesnoth Map Editor");
|
||||
wm_title_string += " (";
|
||||
wm_title_string += game_config::version;
|
||||
wm_title_string += ")";
|
||||
wm_title_string += " - " + game_config::version
|
||||
+ (game_config::svnrev.empty() ? "" :
|
||||
" (" + game_config::svnrev + ")");
|
||||
SDL_WM_SetCaption(wm_title_string.c_str(), NULL);
|
||||
|
||||
//Read the configuration af
|
||||
|
|
Loading…
Add table
Reference in a new issue