mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 03:04:51 +00:00
Fixed the setting of the ellipse_mode in ttext.
This commit is contained in:
parent
58be6ef9d0
commit
ef5b08319d
@ -5,7 +5,8 @@ Version 1.5.12+svn:
|
||||
* updated translations: Chinese (Simplified), Czech, French, Finnish,
|
||||
Hungarian, Polish, Russian, Slovak, Turkish
|
||||
* User interface:
|
||||
* Fixed a crash when trying to use scrollbars in an invisible widget.
|
||||
* Fixed a crash when trying to use scrollbars in an invisible widget
|
||||
* Fixed the setting of the ellipse_mode in ttext
|
||||
* Miscellaneous and bug fixes:
|
||||
* Fix another savegame cache corruption
|
||||
* Fixed bug #13099: MP lobby player list becomes inaccurate over time
|
||||
|
@ -359,7 +359,7 @@ ttext& ttext::set_ellipse_mode(const PangoEllipsizeMode ellipse_mode)
|
||||
assert(context_);
|
||||
|
||||
pango_layout_set_ellipsize(layout_, ellipse_mode);
|
||||
ellipse_mode_ = ellipse_mode_;
|
||||
ellipse_mode_ = ellipse_mode;
|
||||
calculation_dirty_ = true;
|
||||
surface_dirty_ = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user