aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/Text.c b/generic/Text.c
index bd72341..cb27a45 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -998,6 +998,7 @@ Render(ZnItem item)
glPushMatrix();
glTranslated(xs, ys, 0.0);
+#ifndef PTK
/*
* Temporary ack to fix utf8 display.
* the malloc should be done once for
@@ -1018,6 +1019,7 @@ Render(ZnItem item)
ZnRenderString(text->tfi, buf, written);
ZnFree(buf);
}
+#endif
glPopMatrix();
if (ISSET(text->flags, UNDERLINED) || ISSET(text->flags, OVERSTRIKED)) {