diff --git a/src/common/dcbufcmn.cpp b/src/common/dcbufcmn.cpp index 0018c15968..3bc2e275ed 100644 --- a/src/common/dcbufcmn.cpp +++ b/src/common/dcbufcmn.cpp @@ -148,7 +148,7 @@ void wxBufferedDC::UnMask() int width = m_area.GetWidth(), height = m_area.GetHeight(); - if (! m_style & wxBUFFER_VIRTUAL_AREA) + if (!(m_style & wxBUFFER_VIRTUAL_AREA)) { int widthDC, heightDC;