aboutsummaryrefslogtreecommitdiff
path: root/src/tool_text.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-10-10 20:22:04 +0200
committerThomas White <taw@bitwiz.org.uk>2011-10-10 20:22:04 +0200
commit920a213f5453ef9b904d8b90be37ec678b5c7055 (patch)
treecfb2772c050469c18763480912518f93359e37b2 /src/tool_text.c
parentd65e49cfc31663001ef27e4e0456dcc547b3d1b3 (diff)
Formatting
Diffstat (limited to 'src/tool_text.c')
-rw-r--r--src/tool_text.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tool_text.c b/src/tool_text.c
index 9c3eba5..a7f27c2 100644
--- a/src/tool_text.c
+++ b/src/tool_text.c
@@ -204,8 +204,10 @@ static void update_text(struct text_object *o)
} else {
- pango_layout_set_width(o->layout, o->base.bb_width*PANGO_SCALE);
- pango_layout_set_height(o->layout, o->base.bb_height*PANGO_SCALE);
+ pango_layout_set_width(o->layout,
+ o->base.bb_width*PANGO_SCALE);
+ pango_layout_set_height(o->layout,
+ o->base.bb_height*PANGO_SCALE);
pango_layout_set_wrap(o->layout, PANGO_WRAP_WORD_CHAR);
pango_layout_set_ellipsize(o->layout, PANGO_ELLIPSIZE_MIDDLE);