]> granicus.if.org Git - graphviz/commitdiff
missed change
authorellson <devnull@localhost>
Mon, 22 May 2006 13:58:21 +0000 (13:58 +0000)
committerellson <devnull@localhost>
Mon, 22 May 2006 13:58:21 +0000 (13:58 +0000)
lib/common/vrmlgen.c

index 109ac14741940d81d5eda51dab92e00c07e760fd..d98be9bac798895654fff79da20de29a6ee16e13 100644 (file)
@@ -455,11 +455,11 @@ static void vrml_textline(point p, textline_t * line)
     case 'l':
        break;
     case 'r':
-       p.x -= line->width;
+       p.x -= line->dimen.x;
        break;
     default:
     case 'n':
-       p.x -= line->width / 2;
+       p.x -= line->dimen.x / 2;
        break;
     }
 /*     p.y += cstk[SP].fontsz*2/3; */