diff options
author | lecoanet | 2003-05-16 15:33:32 +0000 |
---|---|---|
committer | lecoanet | 2003-05-16 15:33:32 +0000 |
commit | 6e70c9c8b837b3e87a49f96b62aa795f9424faea (patch) | |
tree | d34c5099b900145ac340179d21ffcc8b18590800 /generic | |
parent | 299e5c176c9c43877f4c3d3d0547c5f8a714f588 (diff) | |
download | tkzinc-6e70c9c8b837b3e87a49f96b62aa795f9424faea.zip tkzinc-6e70c9c8b837b3e87a49f96b62aa795f9424faea.tar.gz tkzinc-6e70c9c8b837b3e87a49f96b62aa795f9424faea.tar.bz2 tkzinc-6e70c9c8b837b3e87a49f96b62aa795f9424faea.tar.xz |
*** empty log message ***
Diffstat (limited to 'generic')
-rw-r--r-- | generic/Draw.c | 4 | ||||
-rw-r--r-- | generic/Text.c | 2 |
2 files changed, 3 insertions, 3 deletions
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(); |