Fixed the setting of the ellipse_mode in ttext.

This commit is contained in:
Mark de Wever 2009-03-08 18:01:39 +00:00
parent 58be6ef9d0
commit ef5b08319d
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;
}