Commit 79750963 authored by Morten Welinder's avatar Morten Welinder

Take II.

parent 03952a36
......@@ -512,8 +512,8 @@ rendered_value_recontext (RenderedValue *rv, PangoContext *context)
* does not support that.
*/
if (pango_layout_get_line_count (olayout) == 1) {
res->wrap_text = FALSE;
if (pango_layout_get_line_count (layout) > 1) {
res->wrap_text = FALSE;
pango_layout_set_width (layout, -1);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment