From 4da2acae3ab1a40db8be7f7df36da29cfcbf280c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 3 Sep 2018 16:49:08 +0200 Subject: Spelling fixes in comments and descriptions, patch by luzpaz. Differential Revision: https://developer.blender.org/D3668 --- source/blender/imbuf/intern/anim_movie.c | 2 +- source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 2 +- source/blender/imbuf/intern/moviecache.c | 2 +- source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 +- source/blender/imbuf/intern/targa.c | 2 +- source/blender/imbuf/intern/thumbs.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/imbuf/intern') diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 9ab2ee7dd21..89ae32ee2b3 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -1269,7 +1269,7 @@ static ImBuf *anim_getnew(struct anim *anim) #ifdef WITH_AVI case ANIM_AVI: if (startavi(anim)) { - printf("couldnt start avi\n"); + printf("couldn't start avi\n"); return (NULL); } ibuf = IMB_allocImBuf(anim->x, anim->y, 24, 0); diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index 8e49dba5e33..9dc48fc10c8 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -1394,7 +1394,7 @@ uint DirectDrawSurface::mipmapSize(uint mipmap) const } else if (header.pf.flags & DDPF_RGB || (header.pf.flags & DDPF_LUMINANCE)) { - uint pitch = computePitch(w, header.pf.bitcount, 8); // Asuming 8 bit alignment, which is the same D3DX expects. + uint pitch = computePitch(w, header.pf.bitcount, 8); // Assuming 8 bit alignment, which is the same D3DX expects. return pitch * h * d; } diff --git a/source/blender/imbuf/intern/moviecache.c b/source/blender/imbuf/intern/moviecache.c index daf062f5499..2a650a0c63a 100644 --- a/source/blender/imbuf/intern/moviecache.c +++ b/source/blender/imbuf/intern/moviecache.c @@ -380,7 +380,7 @@ static void do_moviecache_put(MovieCache *cache, void *userkey, ImBuf *ibuf, boo if (need_lock) BLI_mutex_unlock(&limitor_lock); - /* cache limiter can't remove unused keys which points to destoryed values */ + /* cache limiter can't remove unused keys which points to destroyed values */ check_unused_keys(cache); if (cache->points) { diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index a52ae75e87b..e8e6e0576ed 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -1021,7 +1021,7 @@ void IMB_exr_write_channels(void *handle) } for (echan = (ExrChannel *)data->channels.first; echan; echan = echan->next) { - /* Writting starts from last scanline, stride negative. */ + /* Writing starts from last scanline, stride negative. */ if (echan->use_half_float) { float *rect = echan->rect; half *cur = current_rect_half; diff --git a/source/blender/imbuf/intern/targa.c b/source/blender/imbuf/intern/targa.c index 9d92d146f50..b83097c2eaa 100644 --- a/source/blender/imbuf/intern/targa.c +++ b/source/blender/imbuf/intern/targa.c @@ -367,7 +367,7 @@ static void complete_partial_load(struct ImBuf *ibuf, unsigned int *rect) memset(rect, 0, size); } else { - /* shouldnt happen */ + /* shouldn't happen */ printf("decodetarga: incomplete file, all pixels written\n"); } } diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c index ed7bbae6935..bfb7a041802 100644 --- a/source/blender/imbuf/intern/thumbs.c +++ b/source/blender/imbuf/intern/thumbs.c @@ -362,7 +362,7 @@ static ImBuf *thumb_create_ex( } else { if (ELEM(source, THB_SOURCE_IMAGE, THB_SOURCE_BLEND, THB_SOURCE_FONT)) { - /* only load if we didnt give an image */ + /* only load if we didn't give an image */ if (img == NULL) { switch (source) { case THB_SOURCE_IMAGE: -- cgit v1.2.3