diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-04 08:35:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-04 08:35:12 +0400 |
commit | f6ae27daef0e0a27e0c14ef3412161eec229c539 (patch) | |
tree | 00001b4c738d9dbba104a49de15d566dfe82b345 /source/blender/editors/interface | |
parent | 4f2976941fd7284c85e89c1de5038805e62a5c99 (diff) |
style cleanup - comment spelling + translate some dutch.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_panel.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_style.c | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/view2d.c | 4 | ||||
-rw-r--r-- | source/blender/editors/interface/view2d_ops.c | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 6e3e7a2a4e0..f15de857549 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -456,7 +456,7 @@ static int ui_but_float_precision(uiBut *but, double value) prec= (but->hardmax < 10.001f) ? 3 : 2; } - /* check on the number of decimal places neede to display + /* check on the number of decimal places need to display * the number, this is so 0.00001 is not displayed as 0.00, * _but_, this is only for small values si 10.0001 will not get * the same treatment */ @@ -2373,7 +2373,7 @@ static void ui_block_do_align_but(uiBut *first, short nr) } } - /* rows==0: 1 row, cols==0: 1 collumn */ + /* rows==0: 1 row, cols==0: 1 column */ /* note; how it uses 'flag' in loop below (either set it, or OR it) is confusing */ for(but=first, prev=NULL; but && but->alignnr == nr; prev=but, but=but->next) { diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index f1d4d6b7277..cc30cda78be 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3038,7 +3038,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 wuick scrool wouldnt't be an issue anumore. + * all that mouse leave and cancel stuff, so quick scroll wouldnt't be an issue anymore. * same goes for scrolling wheel in another direction below (sergey) */ data->postbut= but; diff --git a/source/blender/editors/interface/interface_ops.c b/source/blender/editors/interface/interface_ops.c index 0521ecbf0d0..5ca3f730006 100644 --- a/source/blender/editors/interface/interface_ops.c +++ b/source/blender/editors/interface/interface_ops.c @@ -487,7 +487,7 @@ static void UI_OT_reports_to_textblock(wmOperatorType *ot) /* ------------------------------------------------------------------------- */ /* EditSource Utility funcs and operator, - * note, this includes itility functions and button matching checks */ + * note, this includes utility functions and button matching checks */ struct uiEditSourceStore { uiBut but_orig; diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 769087b73ef..b1099576505 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -641,7 +641,7 @@ typedef struct PanelSort { /* note about sorting; * the sortorder has a lower value for new panels being added. * however, that only works to insert a single panel, when more new panels get - * added the coordinates of existing panels and the previously stored to-be-insterted + * added the coordinates of existing panels and the previously stored to-be-inserted * panels do not match for sorting */ static int find_leftmost_panel(const void *a1, const void *a2) diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c index b9c29888a64..65e2b98f4b9 100644 --- a/source/blender/editors/interface/interface_style.c +++ b/source/blender/editors/interface/interface_style.c @@ -66,7 +66,7 @@ * "Header", or "Listview" or "Toolbar". Properties of Style definitions * are: * - * - default collumn properties, internal spacing, aligning, min/max width + * - default column properties, internal spacing, aligning, min/max width * - button alignment rules (for groups) * - label placement rules * - internal labeling or external labeling default diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index e8d4cba81c8..e539c02ee17 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -981,7 +981,7 @@ void UI_view2d_view_ortho(View2D *v2d) float xofs, yofs; /* pixel offsets (-0.375f) are needed to get 1:1 correspondence with pixels for smooth UI drawing, - * but only applied where requsted + * but only applied where requested */ /* XXX brecht: instead of zero at least use a tiny offset, otherwise * pixel rounding is effectively random due to float inaccuracy */ @@ -1020,7 +1020,7 @@ void UI_view2d_view_orthoSpecial(ARegion *ar, View2D *v2d, short xaxis) float xofs, yofs; /* pixel offsets (-0.375f) are needed to get 1:1 correspondence with pixels for smooth UI drawing, - * but only applied where requsted + * but only applied where requested */ /* XXX temp (ton) */ xofs= 0.0f; // (v2d->flag & V2D_PIXELOFS_X) ? 0.375f : 0.0f; diff --git a/source/blender/editors/interface/view2d_ops.c b/source/blender/editors/interface/view2d_ops.c index 029ca50db5b..49dae81d985 100644 --- a/source/blender/editors/interface/view2d_ops.c +++ b/source/blender/editors/interface/view2d_ops.c @@ -1126,7 +1126,7 @@ static int view_borderzoom_exec(bContext *C, wmOperator *op) } else /* if (gesture_mode == GESTURE_MODAL_OUT) */ { /* zoom out: - * - the current 'cur' rect coordinates are going to end upwhere the 'rect' ones are, + * - the current 'cur' rect coordinates are going to end up where the 'rect' ones are, * but the 'cur' rect coordinates will need to be adjusted to take in more of the view * - calculate zoom factor, and adjust using center-point */ |