514c514,520
<   gint   LineLen    = WrapPoint - TagLength;
---
>   /* Make sure that there is at least some value greater then zero for the WrapPoint to 
>    * support diagrams from earlier versions of Dia. So if the WrapPoint is zero then use
>    * the taglength as the WrapPoint. If the Tag has been changed such that it has a length
>    * of 0 then use 1.
>    */
>   gint   WorkingWrapPoint      = (WrapPoint <= TagLength )?((TagLength<=0)?1:TagLength):WrapPoint;
>   gint   LineLen    = WorkingWrapPoint - TagLength;
560c566
<           LineLen = WrapPoint;
---
>           LineLen = WorkingWrapPoint;
582c588
<     LineLen    = WrapPoint;
---
>     LineLen    = WorkingWrapPoint;
