@@ -85,8 +85,8 @@ removeStyle :: Style -> InlineM ()
85removeStyle sMask = modify $ \s ->
85removeStyle sMask = modify $ \s ->
86 s { inlineAttr =
86 s { inlineAttr =
87 let style' = case attrStyle (inlineAttr s) of
87 let style' = case attrStyle (inlineAttr s) of
88− Default -> error $ "Graphics.Vty.Inline: Cannot removeStyle if applyStyle never used."
88+ Default -> error "Graphics.Vty.Inline: Cannot removeStyle if applyStyle never used."
89− KeepCurrent -> error $ "Graphics.Vty.Inline: Cannot removeStyle if applyStyle never used."
89+ KeepCurrent -> error "Graphics.Vty.Inline: Cannot removeStyle if applyStyle never used."
90 SetTo st -> st .&. complement sMask
90 SetTo st -> st .&. complement sMask
91 in (inlineAttr s) { attrStyle = SetTo style' }
91 in (inlineAttr s) { attrStyle = SetTo style' }