summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-06-30 02:50:14 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-06-30 02:50:56 +0200
commit5020adc59f0c296e11888487126be2574ec94863 (patch)
treecdfb666fce8678343daa2b6156741c1983f65df4 /common
parentbf5511033d5d6fb98cd597699a725183ae078b62 (diff)
Fix invalid macro usage
Diffstat (limited to 'common')
-rw-r--r--common/gdi_canvas.c2
1 files changed, 1 insertions, 1 deletions
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;