Subject says it all. Apply from root of your cvs (under dia). Say,
is there a better place for stuff like this?
-- 
  _____________________________________________________________________
     / __// /__ ____  __                              Erkki Sepp�l�\   \
    / /_ / // // /\ \/ /                       Inside Informatics ry\  /
   /_/  /_/ \___/ /_/\_\@inside.org        http://www.inside.org/~flux/
Index: objects/UML/association.c
===================================================================
RCS file: /cvs/gnome/dia/objects/UML/association.c,v
retrieving revision 1.15
diff -u -r1.15 association.c
--- objects/UML/association.c   1999/11/11 23:32:08     1.15
+++ objects/UML/association.c   2000/01/18 19:23:41
@@ -486,6 +486,10 @@
   case VERTICAL:
     end->text_pos.y += font_ascent(assoc_font, ASSOCIATION_FONTHEIGHT);
     end->text_align = ALIGN_LEFT;
+    if (points[0].y < points[1].y)
+      end->text_pos.y -= ASSOCIATION_FONTHEIGHT * 
+                        ((end->role?1:0) +
+                         (end->multiplicity?1:0));
     break;
   }
   /* Add the text recangle to the bounding box: */

Reply via email to