aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Track.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Track.c b/generic/Track.c
index e6c4341..f5d033a 100644
--- a/generic/Track.c
+++ b/generic/Track.c
@@ -2044,7 +2044,7 @@ ZnQueryLabelPosition(void *ptr, /* No longer in use. */
ZnITEM.GetItemTransform(item, &t);
AdjustLabelDistance(track, &t, theta, bb_width, bb_height, &pos, &dx, &dy);
*x = (int) pos.x;
- *y = (int) pos.y;
+ *y = (int) (it->wi->height - pos.y)
*w = (int) bb_width;
*h = (int) bb_height;
}