From 6e70c9c8b837b3e87a49f96b62aa795f9424faea Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 16 May 2003 15:33:32 +0000 Subject: *** empty log message *** --- generic/Draw.c | 4 ++-- generic/Text.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'generic') diff --git a/generic/Draw.c b/generic/Draw.c index ac59317..577b115 100644 --- a/generic/Draw.c +++ b/generic/Draw.c @@ -1554,8 +1554,8 @@ ZnComputeRadialGradient(ZnWInfo *wi, } /* - * Create a transform to map a unit circle to another one that fill - * the item when located at the focal point. + * Create a transform to map a unit circle to another one that + * could fill the item when centered at the focal point. */ dist = sqrt(dist); /* Max radius plus a fuzz factor */ ZnTransfoSetIdentity(&t1); diff --git a/generic/Text.c b/generic/Text.c index b8a3bcb..8f1e138 100644 --- a/generic/Text.c +++ b/generic/Text.c @@ -1020,7 +1020,7 @@ Render(ZnItem item) ZnFree(buf); } #else - ZnRenderString(text->tfi, buf, written); + ZnRenderString(text->tfi, lines_ptr->start, lines_ptr->num_bytes); #endif glPopMatrix(); -- cgit v1.1