Skip to content

Commit

Permalink
Revert "MP Create Game: escape any formatting applied to game name"
Browse files Browse the repository at this point in the history
This reverts commit 72e057d.
  • Loading branch information
Vultraz committed Jun 27, 2018
1 parent 3f72011 commit b39d530
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/dialogs/multiplayer/mp_create_game.cpp
Expand Up @@ -33,7 +33,6 @@
#else
#include "gui/widgets/listbox.hpp"
#endif
#include "font/pango/escape.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_config.hpp"
Expand Down Expand Up @@ -949,7 +948,7 @@ void mp_create_game::post_show(window& window)
config_engine_->set_options(options_manager_->get_options_config());

// Set game name
const std::string name = font::escape_text(find_widget<text_box>(&window, "game_name", false).get_value());
const std::string name = find_widget<text_box>(&window, "game_name", false).get_value();
if(!name.empty() && (name != ng::configure_engine::game_name_default())) {
config_engine_->set_game_name(name);
}
Expand Down

0 comments on commit b39d530

Please sign in to comment.