diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-06 05:34:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-06 06:03:07 +0300 |
commit | fdc8b127268677dff61732f290d913af0904c6d0 (patch) | |
tree | 5df364350e520cc9faaf4accc3f8c2a2b98ce207 /source/blender/editors | |
parent | 5af7257309f4059be00b3440bfdd04de15b4e889 (diff) |
Cleanup: whitespace, unused var
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 2 | ||||
-rw-r--r-- | source/blender/editors/util/numinput.c | 7 |
3 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 253f4616843..b98a29c5b56 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -975,7 +975,7 @@ float UI_text_clip_middle_ex( float strwidth; /* Add some epsilon to OK width, avoids 'ellipsing' text that nearly fits! - * Better to have a small piece of the last char cut out, than two remaining chars replaced by an allipsis... */ + * Better to have a small piece of the last char cut out, than two remaining chars replaced by an allipsis... */ okwidth += 1.0f + UI_DPI_FAC; BLI_assert(str[0]); diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index 2254bc991b6..118f3a7571f 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -69,7 +69,7 @@ static EnumPropertyItem mode_items[] = { {PAINT_MASK_FLOOD_VALUE, "VALUE", 0, "Value", "Set mask to the level specified by the 'value' property"}, - {PAINT_MASK_FLOOD_VALUE_INVERSE, "VALUE_INVERSE", 0, "Value Inverted", "Set mask to the level specified by the inverted 'value' property"}, + {PAINT_MASK_FLOOD_VALUE_INVERSE, "VALUE_INVERSE", 0, "Value Inverted", "Set mask to the level specified by the inverted 'value' property"}, {PAINT_MASK_INVERT, "INVERT", 0, "Invert", "Invert the mask"}, {0}}; diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c index effb45a61ab..d2bc8bc80c0 100644 --- a/source/blender/editors/util/numinput.c +++ b/source/blender/editors/util/numinput.c @@ -365,9 +365,10 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) ascii[0] = '.'; utf8_buf = ascii; break; -#if 0 /* Those keys are not directly accessible in all layouts, preventing to generate matching events. - * So we use a hack (ascii value) instead, see below. - */ +#if 0 + /* Those keys are not directly accessible in all layouts, preventing to generate matching events. + * So we use a hack (ascii value) instead, see below. + */ case EQUALKEY: case PADASTERKEY: if (!(n->flag & NUM_EDIT_FULL)) { |