diff options
author | Ray Molenkamp <github@lazydodo.com> | 2018-09-05 07:31:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-05 07:32:19 +0300 |
commit | c13b2a2504393371e32a4fb4c01cfad8d7cc929e (patch) | |
tree | a07973eeff324519187c23cd6b52f61da10d83a3 /source/blender/blenlib/intern/storage.c | |
parent | bb6a94fa7b28390ea8c22a6026562b0ab6685f92 (diff) |
Fix T54152: --env-system-scripts fails on win32
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index f69b35ce5a9..cfcc2bc4390 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -85,7 +85,7 @@ */ char *BLI_current_working_dir(char *dir, const size_t maxncpy) { - const char *pwd = getenv("PWD"); + const char *pwd = BLI_getenv("PWD"); if (pwd) { size_t srclen = BLI_strnlen(pwd, maxncpy); if (srclen != maxncpy) { |