From b457c7fdbdf0b8cf7a4535574d9894d8850c55f4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Mar 2012 23:56:11 +0000 Subject: style cleanup --- source/blender/imbuf/intern/targa.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/imbuf/intern/targa.c') diff --git a/source/blender/imbuf/intern/targa.c b/source/blender/imbuf/intern/targa.c index 895f922a0da..b5552a174a9 100644 --- a/source/blender/imbuf/intern/targa.c +++ b/source/blender/imbuf/intern/targa.c @@ -128,7 +128,7 @@ static short makebody_tga(ImBuf * ibuf, FILE * file, int (*out)(unsigned int, FI copy = last^this; while (bytes > 0){ if (copy){ - do{ + do { last = this; this = *rect++; if (last == this){ @@ -137,7 +137,7 @@ static short makebody_tga(ImBuf * ibuf, FILE * file, int (*out)(unsigned int, FI break; } } - }while (--bytes != 0); + } while (--bytes != 0); copy = rect-rectstart; copy --; @@ -151,9 +151,9 @@ static short makebody_tga(ImBuf * ibuf, FILE * file, int (*out)(unsigned int, FI if (copy>=128) last = 128; copy -= last; if (fputc(last-1,file) == EOF) return(0); - do{ + do { if (out(*rect++,file) == EOF) return(0); - }while(--last != 0); + } while(--last != 0); } rectstart = rect; rect = temp; -- cgit v1.2.3