Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-15 06:15:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-15 06:15:53 +0400
commit716430ab64ef0ed400106bc501d444d38301aec6 (patch)
treed3227f7ef19cbf5168233558a00b32b4646e495c /source
parentfff18e049abbb21b4521b538c321391955984436 (diff)
Code cleanup: comments
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/image.c2
-rw-r--r--source/blender/editors/interface/interface_handlers.c2
-rw-r--r--source/blender/editors/space_view3d/drawobject.c1
-rw-r--r--source/blender/imbuf/intern/colormanagement.c2
-rw-r--r--source/blender/windowmanager/intern/wm_event_system.c2
5 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 83ea52a8938..db5c212d1db 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 bf8e46b5268..229bc76f65a 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 3393cf7f99c..c26d8ce89de 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 2644b8a278f..696e34e58cb 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 175a8d20895..4b2ec0ef587 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);
}