From 1bde96be0989d3c4b17aab8910f621748270c9a2 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Sep 2014 18:51:31 +0200 Subject: [PATCH] there's no random() on window, but no matter --- libs/canvas/canvas.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index 0c0d024836..133e09484c 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -113,7 +113,7 @@ Canvas::render (Rect const & area, Cairo::RefPtr const & context _root.render (*draw, context); -#ifdef CANVAS_DEBUG +#if defined CANVAS_DEBUG && !PLATFORM_WINDOWS if (getenv ("CANVAS_HARLEQUIN_DEBUGGING")) { // This transparently colors the rect being rendered, after it has been drawn. double r = (random() % 65536) /65536.0;