Fix a titlebar glitch
This commit is contained in:
parent
dc5461cba5
commit
dfcdf9cc82
2 changed files with 2 additions and 6 deletions
|
@ -491,9 +491,7 @@ void map_editor::change_language() {
|
|||
|
||||
// Update the frame title
|
||||
wm_title_string = _("Battle for Wesnoth Map Editor");
|
||||
wm_title_string += " - " + game_config::version
|
||||
+ (game_config::revision.empty() ? "" :
|
||||
" (" + game_config::revision + ")");
|
||||
wm_title_string += " - " + game_config::revision;
|
||||
SDL_WM_SetCaption(wm_title_string.c_str(), NULL);
|
||||
|
||||
font::load_font_config();
|
||||
|
|
|
@ -301,9 +301,7 @@ int main(int argc, char** argv)
|
|||
|
||||
// Set the caption of the window
|
||||
wm_title_string = _("Battle for Wesnoth Map Editor");
|
||||
wm_title_string += " - " + game_config::version
|
||||
+ (game_config::revision.empty() ? "" :
|
||||
" (" + game_config::revision + ")");
|
||||
wm_title_string += " - " + game_config::revision;
|
||||
SDL_WM_SetCaption(wm_title_string.c_str(), NULL);
|
||||
|
||||
//Read the configuration af
|
||||
|
|
Loading…
Add table
Reference in a new issue