summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-tests/text.cpp')
-rw-r--r--src/cairo-tests/text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-tests/text.cpp b/src/cairo-tests/text.cpp
index bf3028d..7a53b93 100644
--- a/src/cairo-tests/text.cpp
+++ b/src/cairo-tests/text.cpp
@@ -54,8 +54,8 @@ ca_test_text(caskbench_context_t *ctx)
for (int i = 0; i < ctx->size; i++)
{
- double x = drand48() * off;
- double y = drand48() * h;
+ double x = drnd48() * off;
+ double y = drnd48() * h;
cairoRandomizeColor(ctx);
cairo_move_to(cr, x, y);