diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+5.17.1
+ - withStyle now ignores zero arguments, leaving attribute styles
+   untouched if the input style is the null style
+
 5.17
 API changes:
  - Add support for terminal focus events. This change adds a new mode
diff --git a/src/Graphics/Vty/Attributes.hs b/src/Graphics/Vty/Attributes.hs
--- a/src/Graphics/Vty/Attributes.hs
+++ b/src/Graphics/Vty/Attributes.hs
@@ -200,6 +200,7 @@
 
 -- | Add the given style attribute
 withStyle :: Attr -> Style -> Attr
+withStyle attr 0 = attr
 withStyle attr styleFlag = attr { attrStyle = SetTo $ styleMask attr .|. styleFlag }
 
 -- | Sets the style, background color and foreground color to the
diff --git a/vty.cabal b/vty.cabal
--- a/vty.cabal
+++ b/vty.cabal
@@ -1,5 +1,5 @@
 name:                vty
-version:             5.17
+version:             5.17.1
 license:             BSD3
 license-file:        LICENSE
 author:              AUTHORS
