mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 21:03:58 +00:00
Truncate names in the load dialog utf8 aware, might be related to bug #11186.
This commit is contained in:
parent
2079129db4
commit
60a4ab64d3
@ -39,9 +39,11 @@ Version 1.3.19+svn:
|
||||
* fix a bug where the random map generator could place a keep on the border
|
||||
(bug #11150)
|
||||
* Fixed UI sounds toggle crash on Windows
|
||||
* When a new unit is spawned when the attacker dies and the new unit has
|
||||
* when a new unit is spawned when the attacker dies and the new unit has
|
||||
a lower number of weapons then the weapon number used in the attack an
|
||||
wml_exception was thrown (bug #10926).
|
||||
* truncate names in the load dialog utf8 aware, might be related to
|
||||
bug #11186
|
||||
|
||||
Version 1.3.19:
|
||||
* map editor:
|
||||
|
@ -658,7 +658,7 @@ std::string load_game_dialog(display& disp, const config& game_config, const gam
|
||||
|
||||
for(i = games.begin(); i != games.end(); ++i) {
|
||||
std::string name = i->name;
|
||||
name.resize(minimum<size_t>(name.size(),40));
|
||||
utils::truncate_as_wstring(name, minimum<size_t>(name.size(), 40));
|
||||
|
||||
std::ostringstream str;
|
||||
str << name << COLUMN_SEPARATOR << format_time_summary(i->time_modified);
|
||||
|
Loading…
x
Reference in New Issue
Block a user