color: fix using multiple effects
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>
Sun, 01 May 2011 16:54:48 +0200
changeset 14145 4b7e4b9db8fb
parent 14144 3c3c53d8343a
child 14154 497493b777ad
color: fix using multiple effects
hgext/color.py
--- a/hgext/color.py	Sat Apr 30 19:01:24 2011 +0200
+++ b/hgext/color.py	Sun May 01 16:54:48 2011 +0200
@@ -290,7 +290,7 @@
             s = _styles.get(l, '')
             if s:
                 effects.append(s)
-        effects = ''.join(effects)
+        effects = ' '.join(effects)
         if effects:
             return '\n'.join([render_effects(s, effects)
                               for s in msg.split('\n')])