From 3abd6300bd707b5647f9c8d28fa5b83af128557d Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sat, 9 May 2015 15:46:51 +0200 Subject: Update the headers for Imagemagick 6.9.1 --- dmagick/DrawingContext.d | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dmagick/DrawingContext.d') diff --git a/dmagick/DrawingContext.d b/dmagick/DrawingContext.d index 1d9a285..1735863 100644 --- a/dmagick/DrawingContext.d +++ b/dmagick/DrawingContext.d @@ -993,19 +993,19 @@ class DrawingContext version(Windows) { - tempPath = getenv("TMP"); + tempPath = environment.get("TMP"); if ( tempPath is null ) - tempPath = getenv("TEMP"); + tempPath = environment.get("TEMP"); if ( tempPath is null ) - tempPath = buildPath(getenv("USERPROFILE"), "AppData/Local/Temp"); + tempPath = buildPath(environment.get("USERPROFILE"), "AppData/Local/Temp"); if ( tempPath is null || !tempPath.exists ) - tempPath = buildPath(getenv("WinDir"), "Temp"); + tempPath = buildPath(environment.get("WinDir"), "Temp"); } else { import core.sys.posix.stdio; - tempPath = getenv("TMPDIR"); + tempPath = environment.get("TMPDIR"); if ( tempPath is null ) tempPath = P_tmpdir; } -- cgit v1.2.3