diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
commit | 4f19c1a995de507044d1b5ada7fb7398cdb32096 (patch) | |
tree | e46c13dd84a493177c80af0715f8f9b09c333943 /source/blender/imbuf | |
parent | e56f71400060f10f73bed6b5c52fc537e5a0d617 (diff) |
spelling cleanup
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/IMB_thumbs.h | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/rectop.c | 8 | ||||
-rw-r--r-- | source/blender/imbuf/intern/thumbs_blend.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/imbuf/IMB_thumbs.h b/source/blender/imbuf/IMB_thumbs.h index 49e90134d21..76c09ec1486 100644 --- a/source/blender/imbuf/IMB_thumbs.h +++ b/source/blender/imbuf/IMB_thumbs.h @@ -57,7 +57,7 @@ typedef enum ThumbSource { THB_SOURCE_BLEND } ThumbSource; -/* dont generate thumbs for images bigger then this (100mb) */ +/* don't generate thumbs for images bigger then this (100mb) */ #define THUMB_SIZE_MAX (100 * 1024*1024) // IB_metadata diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index bd79a6ea48b..bb92bd9cc09 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -333,7 +333,7 @@ static int imb_save_openexr_float(struct ImBuf *ibuf, const char *name, int flag rect[0]= ibuf->rect_float + channels*(height-1)*width; rect[1]= rect[0]+1; rect[2]= rect[0]+2; - rect[3]= (channels >= 4)? rect[0]+3:rect[0]; /* red as alpha, is this needed since alpha isnt written? */ + rect[3]= (channels >= 4)? rect[0]+3:rect[0]; /* red as alpha, is this needed since alpha isn't written? */ frameBuffer.insert ("R", Slice (FLOAT, (char *)rect[0], xstride, ystride)); frameBuffer.insert ("G", Slice (FLOAT, (char *)rect[1], xstride, ystride)); @@ -488,7 +488,7 @@ int IMB_exr_begin_write(void *handle, const char *filename, int width, int heigh header.insert ("BlenderMultiChannel", StringAttribute ("Blender V2.55.1 and newer")); - /* avoid crash/abort when we dont have permission to write here */ + /* avoid crash/abort when we don't have permission to write here */ try { data->ofile = new OutputFile(filename, header); } diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c index 492d0af2ac8..888fe5713d1 100644 --- a/source/blender/imbuf/intern/rectop.c +++ b/source/blender/imbuf/intern/rectop.c @@ -92,7 +92,7 @@ static void blend_color_mul(char *cp, char *cp1, char *cp2, int fac) static void blend_color_lighten(char *cp, char *cp1, char *cp2, int fac) { - /* See if are lighter, if so mix, else dont do anything. + /* See if are lighter, if so mix, else don't do anything. * if the paint col is darker then the original, then ignore */ if (cp1[0]+cp1[1]+cp1[2] > cp2[0]+cp2[1]+cp2[2]) { cp[0]= cp1[0]; @@ -105,7 +105,7 @@ static void blend_color_lighten(char *cp, char *cp1, char *cp2, int fac) static void blend_color_darken(char *cp, char *cp1, char *cp2, int fac) { - /* See if were darker, if so mix, else dont do anything. + /* See if were darker, if so mix, else don't do anything. * if the paint col is brighter then the original, then ignore */ if (cp1[0]+cp1[1]+cp1[2] < cp2[0]+cp2[1]+cp2[2]) { cp[0]= cp1[0]; @@ -201,7 +201,7 @@ static void blend_color_mul_float(float *cp, float *cp1, float *cp2, float fac) static void blend_color_lighten_float(float *cp, float *cp1, float *cp2, float fac) { - /* See if are lighter, if so mix, else dont do anything. + /* See if are lighter, if so mix, else don't do anything. * if the pafloat col is darker then the original, then ignore */ if (cp1[0]+cp1[1]+cp1[2] > cp2[0]+cp2[1]+cp2[2]) { cp[0]= cp1[0]; @@ -214,7 +214,7 @@ static void blend_color_lighten_float(float *cp, float *cp1, float *cp2, float f static void blend_color_darken_float(float *cp, float *cp1, float *cp2, float fac) { - /* See if were darker, if so mix, else dont do anything. + /* See if were darker, if so mix, else don't do anything. * if the pafloat col is brighter then the original, then ignore */ if (cp1[0]+cp1[1]+cp1[2] < cp2[0]+cp2[1]+cp2[2]) { cp[0]= cp1[0]; diff --git a/source/blender/imbuf/intern/thumbs_blend.c b/source/blender/imbuf/intern/thumbs_blend.c index 037b4ab63c0..1068eccc6e0 100644 --- a/source/blender/imbuf/intern/thumbs_blend.c +++ b/source/blender/imbuf/intern/thumbs_blend.c @@ -41,7 +41,7 @@ #include "MEM_guardedalloc.h" /* extracts the thumbnail from between the 'REND' and the 'GLOB' - * chunks of the header, dont use typical blend loader because its too slow */ + * chunks of the header, don't use typical blend loader because its too slow */ static ImBuf *loadblend_thumb(gzFile gzfile) { |