also copy segment length for temporary TextItem

This commit is contained in:
Hannes Janetzek 2013-02-14 02:01:06 +01:00
parent 6ef8f8e94d
commit c9d3a05f5c

View File

@ -118,7 +118,9 @@ public class TextItem {
this.string = ti.string;
this.text = ti.text;
this.width = ti.width;
this.length = ti.length;
return this;
}
/* copy properties from 'ti' and add offset
@ -130,6 +132,7 @@ public class TextItem {
this.string = ti.string;
this.text = ti.text;
this.width = ti.width;
this.length = ti.length;
return this;
}