diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-05-02 15:43:44 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-05-02 15:43:44 +0100 |
commit | 99299845e71df9e534e3ae7d4f78e80a46102b3e (patch) | |
tree | 2ee87d6d9f013b61b856b33a23ca12ecbc5d08a8 /amiga | |
parent | 54441c7c58dca51b1b47e2a942d0c6d93e9845c1 (diff) | |
download | netsurf-99299845e71df9e534e3ae7d4f78e80a46102b3e.tar.gz netsurf-99299845e71df9e534e3ae7d4f78e80a46102b3e.tar.bz2 |
Indentation
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/iff_dr2d.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/amiga/iff_dr2d.c b/amiga/iff_dr2d.c index d28607095..a4d17386b 100644 --- a/amiga/iff_dr2d.c +++ b/amiga/iff_dr2d.c @@ -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; |