break;
double x,y;
char s[256];
- if(sscanf(line, "%lf %lf %s", &x, &y, &s) == 3) {
+ if(sscanf(line, "%lf %lf %s", &x, &y, (char*)&s) == 3) {
if(s && !strcmp(s,"moveto")) {
w->moveto(w, convert_coord(x,z), convert_coord(y,z));
count++;
return mkgfxline(poly, 0);
}
-gfxline_t*gfxline_from_gfxpoly_updown(gfxpoly_t*poly)
+gfxline_t*gfxline_from_gfxpoly_with_direction(gfxpoly_t*poly)
{
return mkgfxline(poly, 1);
}