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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-16 06:37:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-17 01:05:58 +0300
commite85635b8825f9ca52a43408b58c5f66c4e3742e6 (patch)
treec14178aa0b479f3921d26fb980d1f15b8c0faa89 /source/blender/editors/interface
parent40a8c4908818bdf1c4628a389803a9a26e2d68f1 (diff)
Cleanup: comment spelling
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface.c2
-rw-r--r--source/blender/editors/interface/interface_layout.c4
-rw-r--r--source/blender/editors/interface/interface_ops.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 8ee78e661d8..32e70f173f4 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -1378,7 +1378,7 @@ static bool ui_but_event_property_operator_string(const bContext *C,
*
* but it's actually quite logical. It's designed to be 'upwards compatible'
* for muscle memory so that the menu item locations are fixed and don't move
- * as new items are added to the menu later on. It also optimises efficiency -
+ * as new items are added to the menu later on. It also optimizes efficiency -
* a radial menu is best kept symmetrical, with as large an angle between
* items as possible, so that the gestural mouse movements can be fast and inexact.
*
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index d4d7af3a374..af992a89caa 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -278,9 +278,9 @@ static int ui_layout_vary_direction(uiLayout *layout)
static bool ui_layout_variable_size(uiLayout *layout)
{
- /* Note that this code is probably a bit flacky, we'd probably want to know whether it's
+ /* Note that this code is probably a bit flakey, we'd probably want to know whether it's
* variable in X and/or Y, etc. But for now it mimics previous one,
- * with addition of variable flag set for children of gridflow layouts. */
+ * with addition of variable flag set for children of grid-flow layouts. */
return ui_layout_vary_direction(layout) == UI_ITEM_VARY_X || layout->variable_size;
}
diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c
index b08810c966b..aa7e7f97478 100644
--- a/source/blender/editors/interface/interface_ops.c
+++ b/source/blender/editors/interface/interface_ops.c
@@ -1504,7 +1504,7 @@ static void UI_OT_reloadtranslation(wmOperatorType *ot)
/** \} */
/* -------------------------------------------------------------------- */
-/** \name Prese Button Operator
+/** \name Press Button Operator
* \{ */
static ARegion *region_event_inside_for_screen(bContext *C, const int xy[2])