diff options
| author | Mike Wey | 2015-05-09 15:46:51 +0200 |
|---|---|---|
| committer | Mike Wey | 2015-05-09 15:46:51 +0200 |
| commit | 3abd6300bd707b5647f9c8d28fa5b83af128557d (patch) | |
| tree | 5ffe2e2e6fb5ef01b36a608164bef77aeeb69b58 /dmagick/DrawingContext.d | |
| parent | ec8851cf174b2215441ddb377eb7a9ef33f1b3c0 (diff) | |
Update the headers for Imagemagick 6.9.1ImageMagick_6.9.1
Diffstat (limited to 'dmagick/DrawingContext.d')
| -rw-r--r-- | dmagick/DrawingContext.d | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |
