From 99299845e71df9e534e3ae7d4f78e80a46102b3e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 2 May 2016 15:43:44 +0100 Subject: Indentation --- amiga/iff_dr2d.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'amiga') 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; -- cgit v1.2.3