diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 16:42:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-01 16:42:00 +0300 |
commit | 06c4106d03214d21b03b7f97dc776749dae59d79 (patch) | |
tree | b38b691df35c4fec628bb93dc28b7fc17fb6d6a3 /source/blender/editors | |
parent | 75b27294889ca65b1946348f08a8e613af3ad15d (diff) |
Fix for fix, indentation was accidental
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/resources.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index fed2808e2c8..8e5bf8f0323 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -184,15 +184,14 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo cp = ts->list; else if (theme_regionid == RGN_TYPE_HEADER) cp = ts->header; - else { + else cp = ts->button; - copy_v4_v4_char(back, cp); - if (!ED_region_is_overlap(spacetype, theme_regionid)) { - back[3] = 255; - } - cp = back; + copy_v4_v4_char(back, cp); + if (!ED_region_is_overlap(spacetype, theme_regionid)) { + back[3] = 255; } + cp = back; break; case TH_LOW_GRAD: cp = ts->gradients.gradient; |