summaryrefslogtreecommitdiffstats
path: root/common/gl_canvas.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-26 21:16:25 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-17 11:21:03 +0200
commitef8a8dae07f400f2573fc6f507bd98c6815d816e (patch)
treea6bf0e9590c62a5dd0e583463e7c4dd50399a1ac /common/gl_canvas.c
parent1d1792c217bee2f7aed28cbee60fc170bb56ecae (diff)
downloadspice-ef8a8dae07f400f2573fc6f507bd98c6815d816e.tar.gz
spice-ef8a8dae07f400f2573fc6f507bd98c6815d816e.tar.xz
spice-ef8a8dae07f400f2573fc6f507bd98c6815d816e.zip
There are multiple line attribute flags enums, use only one
Diffstat (limited to 'common/gl_canvas.c')
-rw-r--r--common/gl_canvas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gl_canvas.c b/common/gl_canvas.c
index f98c72a0..00caf89e 100644
--- a/common/gl_canvas.c
+++ b/common/gl_canvas.c
@@ -630,8 +630,8 @@ static void gl_canvas_draw_stroke(SpiceCanvas *spice_canvas, SpiceRect *bbox, Sp
set_op(canvas, stroke->fore_mode);
set_brush(canvas, &stroke->brush);
- if (stroke->attr.flags & SPICE_LINE_ATTR_STYLED) {
- WARN("SPICE_LINE_ATTR_STYLED");
+ if (stroke->attr.flags & SPICE_LINE_FLAGS_STYLED) {
+ WARN("SPICE_LINE_FLAGS_STYLED");
}
glc_set_line_width(canvas->glc, fix_to_double(stroke->attr.width));