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>2012-03-08 08:12:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-08 08:12:11 +0400
commit79d97ca509a3804e3a174959a65267826a6ea77a (patch)
treebe00422245f80a0dd24edfe0ea2bb5859e94915e /source/blender/editors/interface
parent17786b3b3ee57bc26cef4a279afcc2fb7278cb0d (diff)
style cleanup - spelling.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface.c6
-rw-r--r--source/blender/editors/interface/interface_handlers.c4
-rw-r--r--source/blender/editors/interface/interface_regions.c6
-rw-r--r--source/blender/editors/interface/view2d.c2
4 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 7e4ca0212fb..edddd9bf407 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -669,7 +669,7 @@ static int ui_but_update_from_old_block(const bContext *C, uiBlock *block, uiBut
return found;
}
-/* needed for temporarily rename buttons, such as in outliner or fileselect,
+/* needed for temporarily rename buttons, such as in outliner or file-select,
* they should keep calling uiDefButs to keep them alive */
/* returns 0 when button removed */
int uiButActiveOnly(const bContext *C, uiBlock *block, uiBut *but)
@@ -764,7 +764,7 @@ static void ui_menu_block_set_keyaccels(uiBlock *block)
}
if(pass==0) {
- /* Skip to next delimeter on first pass (be picky) */
+ /* Skip to next delimiter on first pass (be picky) */
while(isalpha(*str_pt))
str_pt++;
@@ -1878,7 +1878,7 @@ static double soft_range_round_down(double value, double max)
void ui_set_but_soft_range(uiBut *but, double value)
{
- /* ideally we would not limit this but practially, its more then
+ /* ideally we would not limit this but practically, its more then
* enough worst case is very long vectors wont use a smart soft-range
* which isnt so bad. */
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index b7c250743a9..fbc196467aa 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -2888,7 +2888,7 @@ static int ui_do_but_BLOCK(bContext *C, uiBut *but, uiHandleButtonData *data, wm
* to cancel changes made to this button, but changing state to EXIT also makes no button active for
* a while which leads to triggering operator when doing fast scrolling mouse wheel.
* using post activate stuff from button allows to make button be active again after checking for all
- * all that mouse leave and cancel stuff, so quick scroll wouldnt't be an issue anymore.
+ * all that mouse leave and cancel stuff, so quick scroll wouldn't be an issue anymore.
* same goes for scrolling wheel in another direction below (sergey)
*/
data->postbut= but;
@@ -2963,7 +2963,7 @@ static int ui_numedit_but_NORMAL(uiBut *but, uiHandleButtonData *data, int mx, i
/* if mouse moves outside of sphere, it does negative normal */
/* note that both data->vec and data->origvec should be normalized
- * else we'll get a hamrless but annoying jump when first clicking */
+ * else we'll get a harmless but annoying jump when first clicking */
fp= data->origvec;
rad= (but->x2 - but->x1);
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c
index 40bd332a056..f971410672c 100644
--- a/source/blender/editors/interface/interface_regions.c
+++ b/source/blender/editors/interface/interface_regions.c
@@ -1755,11 +1755,11 @@ void ui_block_func_ICONTEXTROW(bContext *UNUSED(C), uiLayout *layout, void *arg_
static void ui_warp_pointer(int x, int y)
{
/* XXX 2.50 which function to use for this? */
- /* OSX has very poor mousewarp support, it sends events;
+ /* OSX has very poor mouse-warp support, it sends events;
* this causes a menu being pressed immediately ... */
- #ifndef __APPLE__
+# ifndef __APPLE__
warp_pointer(x, y);
- #endif
+# endif
}
#endif
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c
index e539c02ee17..2feccf7a4e8 100644
--- a/source/blender/editors/interface/view2d.c
+++ b/source/blender/editors/interface/view2d.c
@@ -1105,7 +1105,7 @@ static void step_to_grid(float *step, int *power, int unit)
}
}
-/* Intialise settings necessary for drawing gridlines in a 2d-view
+/* Initialize settings necessary for drawing gridlines in a 2d-view
* - Currently, will return pointer to View2DGrid struct that needs to
* be freed with UI_view2d_grid_free()
* - Is used for scrollbar drawing too (for units drawing)