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_intern.h
parent355905cb0278c368059fdecef8735b731d97b97c (diff)
Cleanup: clang-format
Also remove unused vars.
Diffstat (limited to 'source/blender/editors/space_text/text_intern.h')
-rw-r--r--source/blender/editors/space_text/text_intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_intern.h b/source/blender/editors/space_text/text_intern.h
index fb81f9a9553..ca37e9dcd3f 100644
--- a/source/blender/editors/space_text/text_intern.h
+++ b/source/blender/editors/space_text/text_intern.h
@@ -52,7 +52,8 @@ void text_update_cursor_moved(struct bContext *C);
/* Padding on left of body text in character units. */
#define TXT_BODY_LPAD 1.0f
/* Left position of body text. */
-#define TXT_BODY_LEFT(st) (st->showlinenrs ? TXT_NUMCOL_WIDTH(st) : 0) + (TXT_BODY_LPAD * st->cwidth)
+#define TXT_BODY_LEFT(st) \
+ (st->showlinenrs ? TXT_NUMCOL_WIDTH(st) : 0) + (TXT_BODY_LPAD * st->cwidth)
#define TXT_SCROLL_WIDTH U.widget_unit
#define TXT_SCROLL_SPACE ((int)(0.1f * U.widget_unit))