Commit: 716430ab64ef0ed400106bc501d444d38301aec6
Author: Campbell Barton
Date:   Sun Jun 15 12:15:28 2014 +1000
https://developer.blender.org/rB716430ab64ef0ed400106bc501d444d38301aec6

Code cleanup: comments

===================================================================

M       source/blender/blenkernel/intern/image.c
M       source/blender/editors/interface/interface_handlers.c
M       source/blender/editors/space_view3d/drawobject.c
M       source/blender/imbuf/intern/colormanagement.c
M       source/blender/windowmanager/intern/wm_event_system.c

===================================================================

diff --git a/source/blender/blenkernel/intern/image.c 
b/source/blender/blenkernel/intern/image.c
index 83ea52a..db5c212 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -2023,7 +2023,7 @@ int BKE_imbuf_write(ImBuf *ibuf, const char *name, 
ImageFormatData *imf)
        return(ok);
 }
 
-/* same as BKE_imbuf_write() but crappy workaround not to perminantly modify
+/* same as BKE_imbuf_write() but crappy workaround not to permanently modify
  * _some_, values in the imbuf */
 int BKE_imbuf_write_as(ImBuf *ibuf, const char *name, ImageFormatData *imf,
                        const bool save_copy)
diff --git a/source/blender/editors/interface/interface_handlers.c 
b/source/blender/editors/interface/interface_handlers.c
index bf8e46b..229bc76 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -7044,7 +7044,7 @@ void ui_button_activate_do(bContext *C, ARegion *ar, 
uiBut *but)
 
 void ui_button_execute_begin(struct bContext *UNUSED(C), struct ARegion *ar, 
uiBut *but, void **active_back)
 {
-       /* note: ideally we would not have to change 'but->active' howevwer
+       /* note: ideally we would not have to change 'but->active' however
         * some functions we call don't use data (as they should be doing) */
        uiHandleButtonData *data;
        *active_back = but->active;
diff --git a/source/blender/editors/space_view3d/drawobject.c 
b/source/blender/editors/space_view3d/drawobject.c
index 3393cf7..c26d8ce 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -791,7 +791,6 @@ void view3d_cached_text_draw_add(const float co[3],
                                  const unsigned char col[4])
 {
        int alloc_len = str_len + 1;
-       /* TODO, replace with more efficient malloc, perhaps memarena per draw? 
*/
        ViewCachedString *vos;
 
        BLI_assert(str_len == strlen(str));
diff --git a/source/blender/imbuf/intern/colormanagement.c 
b/source/blender/imbuf/intern/colormanagement.c
index 2644b8a..696e34e 100644
--- a/source/blender/imbuf/intern/colormanagement.c
+++ b/source/blender/imbuf/intern/colormanagement.c
@@ -1895,7 +1895,7 @@ ImBuf *IMB_colormanagement_imbuf_for_write(ImBuf *ibuf, 
bool save_as_render, boo
         * so much useful to just ignore alpha -- it leads to bad
         * artifacts especially when saving byte images.
         *
-        * What we do here is we're overing our image on top of
+        * What we do here is we're overlaying our image on top of
         * background color (which is currently black).
         *
         * This is quite much the same as what Gimp does and it
diff --git a/source/blender/windowmanager/intern/wm_event_system.c 
b/source/blender/windowmanager/intern/wm_event_system.c
index 175a8d2..4b2ec0e 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -3349,7 +3349,7 @@ void WM_set_locked_interface(wmWindowManager *wm, bool 
lock)
         *
         * TODO(sergey): Make it different locked states, so different jobs
         *               could lock different areas of blender and allow
-        *               interation with others?
+        *               interaction with others?
         */
        BKE_spacedata_draw_locks(lock);
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to