fix typo
authorvladimir@pobox.com
Thu, 29 Nov 2007 14:19:53 -0800
changeset 8456 e724bbe58c3e6b49201bcc3626720b192d9fd5ed
parent 8455 e8ec1e8d570f4b9c305713e0a08c809b8207284a
child 8457 d351d96a8a37b3e20cc0c5cc98ac5b2a48c92835
push idunknown
push userunknown
push dateunknown
milestone1.9b2pre
fix typo
gfx/thebes/src/gfxContext.cpp
--- a/gfx/thebes/src/gfxContext.cpp
+++ b/gfx/thebes/src/gfxContext.cpp
@@ -507,17 +507,17 @@ gfxFloat
 gfxContext::CurrentLineWidth() const
 {
     return cairo_get_line_width(mCairo);
 }
 
 void
 gfxContext::SetOperator(GraphicsOperator op)
 {
-    if (mFlags && FLAG_SIMPLIFY_OPERATORS) {
+    if (mFlags & FLAG_SIMPLIFY_OPERATORS) {
         if (op != OPERATOR_SOURCE &&
             op != OPERATOR_CLEAR &&
             op != OPERATOR_OVER)
             op = OPERATOR_OVER;
     }
 
     cairo_set_operator(mCairo, (cairo_operator_t)op);
 }