aboutsummaryrefslogtreecommitdiff
path: root/generic/Draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Draw.c')
-rw-r--r--generic/Draw.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/Draw.c b/generic/Draw.c
index 9a5fa87..f033e49 100644
--- a/generic/Draw.c
+++ b/generic/Draw.c
@@ -1409,7 +1409,7 @@ ZnComputeRadialGradient(WidgetInfo *wi,
/*
* Find the max distance from the focal point.
*/
- if (1/*oval*/) {
+ if (oval) {
/*
* radius.x and radius.y are the shape radiuses.
* ff is the distance from the bbox center to
@@ -1802,8 +1802,7 @@ ZnRenderGlyph(ZnTexFontInfo *tfi,
{
ZnTexGVI *tgvi;
- tgvi = ZnTexFontGVI(tfi, c);
-
+ tgvi = ZnTexFontGVI(tfi, c);
glBegin(GL_QUADS);
glTexCoord2fv(tgvi->t0);
glVertex2sv(tgvi->v0);