aboutsummaryrefslogtreecommitdiff
path: root/pixman/test/window-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/test/window-test.c')
-rw-r--r--pixman/test/window-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/test/window-test.c b/pixman/test/window-test.c
index 084e23a22..919fc16ed 100644
--- a/pixman/test/window-test.c
+++ b/pixman/test/window-test.c
@@ -137,8 +137,8 @@ main ()
pixman_image_t *src, *dest;
int src_x, src_y, dest_x, dest_y;
int i, j;
- int width = get_rand (500);
- int height = get_rand (500);
+ int width = get_rand (499) + 1;
+ int height = get_rand (499) + 1;
src = make_image (width, height, TRUE, &src_x, &src_y);
dest = make_image (width, height, FALSE, &dest_x, &dest_y);