summaryrefslogtreecommitdiff
path: root/world/node_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'world/node_text.c')
-rw-r--r--world/node_text.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/world/node_text.c b/world/node_text.c
index b816196e..86a523df 100644
--- a/world/node_text.c
+++ b/world/node_text.c
@@ -129,11 +129,12 @@ growtext(fz_textnode *text, int n)
}
fz_error *
-fz_addtext(fz_textnode *text, int cid, float x, float y)
+fz_addtext(fz_textnode *text, int gid, int ucs, float x, float y)
{
if (growtext(text, 1) != nil)
return fz_outofmem;
- text->els[text->len].cid = cid;
+ text->els[text->len].ucs = ucs;
+ text->els[text->len].gid = gid;
text->els[text->len].x = x;
text->els[text->len].y = y;
text->len++;