diff --git a/common/memory.cc b/common/memory.cc index c8f466a..690de1c 100644 --- a/common/memory.cc +++ b/common/memory.cc @@ -40,6 +40,7 @@ std::string mem_string( const MemoryStatus & mem_status, if( use_powerline_right ) { powerline( oss, mem_lut[color], POWERLINE_RIGHT ); + oss << ' '; } else if( use_powerline_left ) { diff --git a/common/powerline.cc b/common/powerline.cc index 8b7037f..365a2b6 100644 --- a/common/powerline.cc +++ b/common/powerline.cc @@ -62,8 +62,7 @@ void powerline( std::ostringstream & oss, const char color[], oss << ' ' << bg2fg( color ) << PWL_RIGHT_FILLED - << color - << ' '; + << color; break; }; }