diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-13 09:19:15 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-13 09:19:15 +0300 |
commit | 51d78b43de2c63a1953dc0002d40b7f145f61e95 (patch) | |
tree | 47fa3e3e17980c6a126dce8ac76815774d8a8a03 /source/blender/blenlib | |
parent | 867fc4b463ef39ea16103f18f332c3d259624d29 (diff) |
Fixing compiling on windows
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index e44e3e92cdb..1a930e7ff7e 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -1751,7 +1751,7 @@ void BLI_where_is_temp(char *fullname, int maxlen, int usertemp) if (fullname[0] == '\0') { char *tmp = getenv("TEMP"); /* Windows */ if (tmp && BLI_is_dir(tmp)) { - BLI_strncpy((fullname, tmp, maxlen); + BLI_strncpy(fullname, tmp, maxlen); } } #else |