From 0ac990d088d553c27f5360f62e142e99f087890a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Apr 2019 00:18:34 +1000 Subject: Cleanup: comments (long lines) in editors --- source/blender/editors/util/numinput.c | 3 ++- source/blender/editors/util/select_utils.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/util') diff --git a/source/blender/editors/util/numinput.c b/source/blender/editors/util/numinput.c index 0ab37d61ce4..8abd8db53c1 100644 --- a/source/blender/editors/util/numinput.c +++ b/source/blender/editors/util/numinput.c @@ -452,7 +452,8 @@ bool handleNumInput(bContext *C, NumInput *n, const wmEvent *event) utf8_buf = ascii; break; #if 0 - /* Those keys are not directly accessible in all layouts, preventing to generate matching events. + /* 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: diff --git a/source/blender/editors/util/select_utils.c b/source/blender/editors/util/select_utils.c index 13c623a2860..a26579b0d84 100644 --- a/source/blender/editors/util/select_utils.c +++ b/source/blender/editors/util/select_utils.c @@ -115,8 +115,8 @@ bool ED_select_similar_compare_float_tree(const KDTree_1d *tree, case SIM_CMP_GT: /* Compare against the shortest edge. */ /* -FLT_MAX leads to some precision issues and the wrong edge being selected. - * For example, in a tree with 1, 2 and 3, which is stored squared as 1, 4, 9, it returns as the nearest - * length/node the "4" instead of "1". */ + * For example, in a tree with 1, 2 and 3, which is stored squared as 1, 4, 9, + * it returns as the nearest length/node the "4" instead of "1". */ nearest_edge_length = -1.0f; break; case SIM_CMP_LT: -- cgit v1.2.3