From 6e5f38286edd96869f6759cc5242489d2eacc016 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 11 Dec 2012 08:17:57 -0500 Subject: [PATCH] nothrow and color --- simpledisplay.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simpledisplay.d b/simpledisplay.d index f6533c7..c6eeab8 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -24,7 +24,7 @@ import std.string; // FIXME: move to drawText X11 on next dmd import std.stdio; -import arsd.color; // no longer stand alone... :-( but i need a common type for this to work with images easily. +public import arsd.color; // no longer stand alone... :-( but i need a common type for this to work with images easily. struct Point { int x; @@ -1173,7 +1173,7 @@ version(X11) { if(!done && pulseTimeout !=0) { if(handlePulse !is null) handlePulse(); - Thread.sleep(pulseTimeout * 10000); + Thread.sleep(dur!"msecs"(pulseTimeout)); } }