From 053e107544bc20e0c2853c479e19e5fde40e124c Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 22 May 2006 13:14:00 +0000 Subject: [PATCH] some missed changes --- lib/common/gdgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/gdgen.c b/lib/common/gdgen.c index 944020592..f68f06787 100644 --- a/lib/common/gdgen.c +++ b/lib/common/gdgen.c @@ -576,15 +576,15 @@ static void gd_textline(point p, textline_t * line) mp.x = p.x; break; case 'r': - mp.x = p.x - line->width; + mp.x = p.x - line->dimen.x; break; default: case 'n': - mp.x = p.x - line->width / 2; + mp.x = p.x - line->dimen.x / 2; break; } ep.y = mp.y = p.y; - ep.x = mp.x + line->width; + ep.x = mp.x + line->dimen.x; mp = gdpt(mp); if (fontsz <= FONTSIZE_MUCH_TOO_SMALL) { -- 2.40.0