diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-01-03 22:53:04 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-01-03 22:53:04 +0300 |
commit | 3bbc65a5f418e7b9658ef791518e5b9872745d29 (patch) | |
tree | 262b35502d49731ce9f1021583a49cf9a297bd46 /source/blender/imbuf/intern/png.c | |
parent | 40813b301aff7c1cb1c574f0f6570e05a5ca5eed (diff) |
This is a pretty lame commit but here it is:
I just fixed indentation (replaced spaces with tabs where needed) and removed
#include config.h stuff from the above files.
Kent
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 50b65befe48..27957a34351 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -49,9 +49,9 @@ #include "IMB_png.h" typedef struct PNGReadStruct { - unsigned char *data; - unsigned int size; - unsigned int seek; + unsigned char *data; + unsigned int size; + unsigned int seek; }PNGReadStruct; static void ReadData( png_structp png_ptr, png_bytep data, png_size_t length); @@ -60,13 +60,10 @@ static void Flush( png_structp png_ptr); int imb_is_a_png(void *mem) { - int ret_val = 0; + int ret_val = 0; - if (mem) { - ret_val = !png_sig_cmp(mem, 0, 8); - } - - return(ret_val); + if (mem) ret_val = !png_sig_cmp(mem, 0, 8); + return(ret_val); } static void Flush(png_structp png_ptr) |