diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-11 04:49:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-11 04:49:00 +0400 |
commit | 2005f7c6c0ee47b85bbcf5999225e86117290a65 (patch) | |
tree | 4157bd9de8d5606c1ced57c698394d78fec9b0d4 /source/blender/editors/space_buttons/buttons_header.c | |
parent | 22dbb675c156a24880e3b1803a0f5abde53af4b8 (diff) |
style cleanup: also some typos
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_header.c')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_header.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c index 701048cd229..ae7026a634f 100644 --- a/source/blender/editors/space_buttons/buttons_header.c +++ b/source/blender/editors/space_buttons/buttons_header.c @@ -97,7 +97,7 @@ static void do_buttons_buttons(bContext *C, void *UNUSED(arg), int event) sbuts->mainbuser = sbuts->mainb; } -#define BUT_UNIT_X (UI_UNIT_X + 2*U.pixelsize) +#define BUT_UNIT_X (UI_UNIT_X + 2 * U.pixelsize) void buttons_header_buttons(const bContext *C, ARegion *ar) { @@ -105,7 +105,7 @@ void buttons_header_buttons(const bContext *C, ARegion *ar) uiBlock *block; uiBut *but; int headery = ED_area_headersize(); - int xco, yco = 0.5f*(headery - UI_UNIT_Y); + int xco, yco = 0.5f * (headery - UI_UNIT_Y); buttons_context_compute(C, sbuts); |