aboutsummaryrefslogtreecommitdiff
path: root/generic/Text.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Text.c')
-rw-r--r--generic/Text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/Text.c b/generic/Text.c
index 0b6ac69..ec93cbd 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -1253,7 +1253,7 @@ Selection(Item item,
static ItemClassStruct TEXT_ITEM_CLASS = {
sizeof(TextItemStruct),
False, /* has_fields */
- False, /* has_parts */
+ 0, /* num_parts */
True, /* has_anchors */
"text",
text_attrs,
@@ -1270,6 +1270,7 @@ static ItemClassStruct TEXT_ITEM_CLASS = {
DeleteChars,
TextCursor,
Index,
+ NULL, /* Part */
Selection,
NULL, /* Contour */
ComputeCoordinates,