summaryrefslogtreecommitdiffstats
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.c b/src/text.c
index a20dfa0..290eccc 100644
--- a/src/text.c
+++ b/src/text.c
@@ -299,8 +299,8 @@ ganv_text_draw(GanvItem* item,
ganv_item_i2w(item, &wx, &wy);
// Round to the nearest pixel so text isn't blurry
- wx = lrint(wx - x);
- wy = lrint(wy - y);
+ wx = lrint(wx);
+ wy = lrint(wy);
cairo_set_source_surface(cr, impl->surface, wx, wy);
cairo_paint(cr);