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>2018-11-20 22:21:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-20 22:29:19 +0300
commit3a13b89296a851027ba4cec34f8c36600cfdd1f2 (patch)
treeb9302ad9f7774e53676028a55854806e06b7dd35 /source/blender/editors/interface/interface_style.c
parent176b0df92079bb7a1ab456b97055f01e0cc784db (diff)
Cleanup: unused args, indentation
Diffstat (limited to 'source/blender/editors/interface/interface_style.c')
-rw-r--r--source/blender/editors/interface/interface_style.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c
index 738da4184b7..d4f6933693e 100644
--- a/source/blender/editors/interface/interface_style.c
+++ b/source/blender/editors/interface/interface_style.c
@@ -318,7 +318,8 @@ void UI_fontstyle_draw_simple_backdrop(
float color[4] = { col_bg[0], col_bg[1], col_bg[2], 0.5f };
UI_draw_roundbox_corner_set(UI_CNR_ALL);
- UI_draw_roundbox_aa(true,
+ UI_draw_roundbox_aa(
+ true,
x - margin,
(y + decent) - margin,
x + width + margin,
@@ -529,10 +530,11 @@ void uiStyleInit(void)
/* Set default flags based on UI preferences (not render fonts) */
{
- int flag_disable = BLF_MONOCHROME |
- BLF_HINTING_NONE |
- BLF_HINTING_SLIGHT |
- BLF_HINTING_FULL;
+ int flag_disable = (
+ BLF_MONOCHROME |
+ BLF_HINTING_NONE |
+ BLF_HINTING_SLIGHT |
+ BLF_HINTING_FULL);
int flag_enable = 0;
if (U.text_render & USER_TEXT_HINTING_NONE) {