summaryrefslogtreecommitdiff
path: root/src/plot
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-01-22 00:39:54 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-01-22 00:39:54 +0000
commitec0a1adadf3c64957c8f7d529c6bdbf3fa037dd8 (patch)
treec19a159419fee56e7f3e5748552ee6b04b5016bb /src/plot
parentedb7ae676994b39a7a960740c8769d96d1b4af1c (diff)
downloadlibnsfb-ec0a1adadf3c64957c8f7d529c6bdbf3fa037dd8.tar.gz
libnsfb-ec0a1adadf3c64957c8f7d529c6bdbf3fa037dd8.tar.bz2
quick workround for polygon plotter issues
improve polygon star plotter to have animation! svn path=/trunk/libnsfb/; revision=9862
Diffstat (limited to 'src/plot')
-rw-r--r--src/plot/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plot/generic.c b/src/plot/generic.c
index a367d14..287c2c0 100644
--- a/src/plot/generic.c
+++ b/src/plot/generic.c
@@ -237,7 +237,7 @@ polygon(nsfb_t *nsfb, const int *p, unsigned int n, nsfb_colour_t c)
if (x1 == nsfb->clip.x1 || x1 == poly_x1)
break;
- if (x0 == x1)
+ /* if (x0 == x1) FIXME: This is a hack and breaks other cases */
x1++;
}
}