Fix padding issue with single-sided statuslines

This commit is contained in:
Kim Silkebækken 2013-01-09 14:29:01 +01:00
parent a26d5e5319
commit 44fb24dee6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Renderer(object):
compare_segment = next_segment if segment['side'] == 'left' else prev_segment
segment['rendered_raw'] = u''
outer_padding = ' ' if index == 0 or index == segments_len - 1 else ''
outer_padding = ' ' if index == 0 or (index == segments_len - 1 and segment['side'] == 'right') else ''
divider_type = 'soft' if compare_segment['highlight'][mode]['bg'] == segment['highlight'][mode]['bg'] else 'hard'
divider = theme.get_divider(segment['side'], divider_type)