Skip to content

Commit

Permalink
gui2/tunit_attack: Remove trailing newline from unit stats area
Browse files Browse the repository at this point in the history
Again, not visible on platforms where Pango is broken.
  • Loading branch information
irydacea committed Mar 6, 2016
1 parent f24db0a commit 4329adf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -4,6 +4,7 @@ Version 1.13.3+dev:
* User interface:
* Fix vertical alignment of individual attacks listed in the Attack Unit
dialog.
* Removed extra padding below unit stats in the Attack Unit dialog.
* Miscellaneous and bug fixes:
* Fix non-deterministic crashes in the Attack Unit dialog resulting from
invalid memory references (regression introduced in 1.13.3).
Expand Down
2 changes: 1 addition & 1 deletion src/gui/dialogs/unit_attack.cpp
Expand Up @@ -130,7 +130,7 @@ static std::string format_stats(const unit& u)
str << font::span_color(u.xp_color())
<< _("XP: ") << u.experience() << "/" << u.max_experience() << "</span>" << "\n";

str << "</small>" << "\n";
str << "</small>";

return str.str();
}
Expand Down

0 comments on commit 4329adf

Please sign in to comment.