[Spice-commits] common/gdi_canvas.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Fri Jun 29 17:51:38 PDT 2012


 common/gdi_canvas.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5020adc59f0c296e11888487126be2574ec94863
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Sat Jun 30 02:50:14 2012 +0200

    Fix invalid macro usage

diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c
index 0a04bf8..deb7649 100644
--- a/common/gdi_canvas.c
+++ b/common/gdi_canvas.c
@@ -756,7 +756,7 @@ uint8_t calc_rop3(uint16_t rop3_bits, int brush)
 
     if (rop3_bits & SPICE_ROPD_OP_BLACKNESS || rop3_bits & SPICE_ROPD_OP_WHITENESS ||
         rop3_bits & SPICE_ROPD_OP_INVERS) {
-        spice_warn_if_reached("invalid rop3 type");
+        spice_warning("invalid rop3 type");
         return 0;
     }
     return rop3;


More information about the Spice-commits mailing list