summaryrefslogtreecommitdiffstats
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index 0f51307..528a842 100644
--- a/src/text.c
+++ b/src/text.c
@@ -229,8 +229,7 @@ ganv_text_bounds(GanvItem* item,
double* x2, double* y2)
{
ganv_text_bounds_item(item, x1, y1, x2, y2);
- ganv_item_i2w(item->parent, x1, y1);
- ganv_item_i2w(item->parent, x2, y2);
+ ganv_item_i2w_pair(item->parent, x1, y1, x2, y2);
}
static void