diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-13 03:56:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-13 03:56:11 +0400 |
commit | b457c7fdbdf0b8cf7a4535574d9894d8850c55f4 (patch) | |
tree | f7599016a54124182431fdf66065c75f4b21cd0c /source/blender/imbuf/intern/targa.c | |
parent | caac81d75f27c01e4aa0cec3d2814485203613bc (diff) |
style cleanup
Diffstat (limited to 'source/blender/imbuf/intern/targa.c')
-rw-r--r-- | source/blender/imbuf/intern/targa.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |