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-11-21 15:06:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-21 15:15:02 +0300
commit7c18fcbe03271f15ed4f6f4af14c60e84f8bb9cc (patch)
treec7653aa120e435ca13b053e1e097f577db1b44cf /source/blender/editors/space_text/text_ops.c
parent355905cb0278c368059fdecef8735b731d97b97c (diff)
Cleanup: clang-format
Also remove unused vars.
Diffstat (limited to 'source/blender/editors/space_text/text_ops.c')
-rw-r--r--source/blender/editors/space_text/text_ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index 864c7912074..a4608123f19 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -3256,8 +3256,7 @@ static int text_line_number_invoke(bContext *C, wmOperator *UNUSED(op), const wm
}
if (!(mval[0] > 2 && mval[0] < (TXT_NUMCOL_WIDTH(st) + (TXT_BODY_LPAD * st->cwidth)) &&
- mval[1] > 2 &&
- mval[1] < ar->winy - 2)) {
+ mval[1] > 2 && mval[1] < ar->winy - 2)) {
return OPERATOR_PASS_THROUGH;
}