From 1e9bf0cfdb6c925b28af6f0330467e7d9d798c05 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Mar 2010 09:30:00 +0000 Subject: spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text) --- 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 aafc9711a4e..092c52d427b 100644 --- a/source/blender/imbuf/intern/targa.c +++ b/source/blender/imbuf/intern/targa.c @@ -287,7 +287,7 @@ short imb_savetarga(struct ImBuf * ibuf, char *name, int flags) buf[17] |= 0x08; } fildes = fopen(name,"wb"); - if (!fildes) return 0; + if (!fildes) return 0; if (fwrite(buf, 1, 18,fildes) != 18) { fclose(fildes); @@ -297,9 +297,9 @@ short imb_savetarga(struct ImBuf * ibuf, char *name, int flags) if (ibuf->cmap){ for (i = 0 ; imaxcol ; i++){ if (fwrite(((uchar *)(ibuf->cmap + i)) + 1,1,3,fildes) != 3) { - fclose(fildes); - return (0); - } + fclose(fildes); + return (0); + } } } -- cgit v1.2.3