summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/stroke.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-06-24 11:58:53 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-06-24 17:23:21 -0700
commitfb506c0829135d4ac35d0fbbdc76f19c6a58ca21 (patch)
treebb1c68da62a2c4a413d8936b3592e0e4d6e740ef /src/cairo-tests/stroke.cpp
parent9dae77010a6efc5beb8b8b5cbe713c02494c87e0 (diff)
Add CB_FILL_RANDOM to select a random fill type
Also, make command line parsing of fill and shape types more strict
Diffstat (limited to 'src/cairo-tests/stroke.cpp')
-rw-r--r--src/cairo-tests/stroke.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-tests/stroke.cpp b/src/cairo-tests/stroke.cpp
index ff445b8..48bc6d5 100644
--- a/src/cairo-tests/stroke.cpp
+++ b/src/cairo-tests/stroke.cpp
@@ -48,7 +48,7 @@ static void drawShape(caskbench_context_t *ctx,double x,double y)
int i, r, p;
shape_type_t shape;
r = 0.9 * element_spacing /2;
- if(ctx->shape_defaults.shape_type == CB_SHAPE_NONE)
+ if(ctx->shape_defaults.shape_type == CB_SHAPE_RANDOM)
shape = generate_random_shape();
else
shape = ctx->shape_defaults.shape_type;