diff options
Diffstat (limited to 'source')
8 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/armature/armature_skinning.c b/source/blender/editors/armature/armature_skinning.c index 8628627f1a7..2a3688526d0 100644 --- a/source/blender/editors/armature/armature_skinning.c +++ b/source/blender/editors/armature/armature_skinning.c @@ -113,7 +113,7 @@ static int vgroup_add_unique_bone_cb(Object *ob, Bone *bone, void *UNUSED(ptr)) { /* This group creates a vertex group to ob that has the * same name as bone (provided the bone is skinnable). - * If such a vertex group aleady exist the routine exits. + * If such a vertex group already exist the routine exits. */ if (!(bone->flag & BONE_NO_DEFORM)) { if (!defgroup_find_name(ob, bone->name)) { diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index b8e00022a61..e6d5703f5b5 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -1901,7 +1901,7 @@ static float ui_get_but_step_unit(uiBut *but, float step_default) } /** - * \param float_precision For number buttons the precission to use or -1 to fallback to the button default. + * \param float_precision For number buttons the precision to use or -1 to fallback to the button default. */ void ui_get_but_string_ex(uiBut *but, char *str, const size_t maxlen, const int float_precision) { diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index a92226b08ec..bcb46b4b60b 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -323,7 +323,7 @@ struct uiButStoreElem { }; /** - * Create a new button sture, the caller must manage and run #UI_butstore_free + * Create a new button store, the caller must manage and run #UI_butstore_free */ uiButStore *UI_butstore_create(uiBlock *block) { diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index b696005001f..f2afe356ed9 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -1146,7 +1146,7 @@ static void ui_text_clip_right_label(uiFontStyle *fstyle, uiBut *but, const rcti but->ofs = 0; - /* First shorten num-buttopns eg, + /* First shorten num-buttons eg, * Translucency: 0.000 * becomes * Trans: 0.000 diff --git a/source/blender/editors/sculpt_paint/paint_undo.c b/source/blender/editors/sculpt_paint/paint_undo.c index 2b5c6d9421c..cc97a2de6f4 100644 --- a/source/blender/editors/sculpt_paint/paint_undo.c +++ b/source/blender/editors/sculpt_paint/paint_undo.c @@ -285,7 +285,7 @@ static void undo_step_num(bContext *C, UndoStack *stack, int step) while (a++ != curnum) undo_stack_step(C, stack, 1, NULL); } - else if (curnum < a){ + else if (curnum < a) { while (a-- != curnum) undo_stack_step(C, stack, -1, NULL); } diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index 81a7aba4bfa..3f53ee796a0 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -405,7 +405,7 @@ static int transform_modal(bContext *C, wmOperator *op, const wmEvent *event) if (mode_prev != t->mode) { /* WARNING: this is not normal to switch operator types * normally it would not be supported but transform happens - * to share callbacks between differernt operators. */ + * to share callbacks between different operators. */ wmOperatorType *ot_new = NULL; TransformModeItem *item = transform_modes; while (item->idname) { diff --git a/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp b/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp index cd8ce14567e..9adf6239305 100644 --- a/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp +++ b/source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp @@ -573,7 +573,7 @@ void BlenderFileLoader::insertShapeNode(ObjectInstanceRen *obi, int id) shape->setFrsMaterial(tmpMat); } else { - // find if the material is aleady in the list + // find if the material is already in the list unsigned int i = 0; bool found = false; diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 03f717f0737..e4e7a91361d 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -536,7 +536,7 @@ int wm_homefile_read(bContext *C, ReportList *reports, bool from_memory, const c char prefstr[FILE_MAX]; int success = 0; - /* Indicates whether user prefereneces were really load from memory. + /* Indicates whether user preferences were really load from memory. * * This is used for versioning code, and for this we can not rely on from_memory * passed via argument. This is because there might be configuration folder |