mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 02:32:44 +03:00
Indentation
This commit is contained in:
parent
54441c7c58
commit
99299845e7
@ -214,14 +214,14 @@ bool ami_svg_to_dr2d(struct IFFHandle *iffh, const char *buffer,
|
||||
for (j = 0;
|
||||
j != diagram->shape[i].path_length; ) {
|
||||
switch ((int) diagram->shape[i].path[j]) {
|
||||
case svgtiny_PATH_MOVE:
|
||||
if(j != 0)
|
||||
{
|
||||
poly[NumPoints*2].val = INDICATOR;
|
||||
poly[(NumPoints*2)+1].val = IND_MOVETO;
|
||||
NumPoints++;
|
||||
}
|
||||
poly[(NumPoints*2)].PolyPoints = diagram->shape[i].path[j + 1];
|
||||
case svgtiny_PATH_MOVE:
|
||||
if(j != 0)
|
||||
{
|
||||
poly[NumPoints*2].val = INDICATOR;
|
||||
poly[(NumPoints*2)+1].val = IND_MOVETO;
|
||||
NumPoints++;
|
||||
}
|
||||
poly[(NumPoints*2)].PolyPoints = diagram->shape[i].path[j + 1];
|
||||
poly[(NumPoints*2)+1].PolyPoints = diagram->shape[i].path[j + 2];
|
||||
NumPoints++;
|
||||
curx = (float) diagram->shape[i].path[j + 1];
|
||||
@ -260,7 +260,7 @@ bool ami_svg_to_dr2d(struct IFFHandle *iffh, const char *buffer,
|
||||
cury = poly[(NumPoints*2)+1].PolyPoints;
|
||||
NumPoints++;
|
||||
j += 7;
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
printf("error\n");
|
||||
j += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user