Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2011-02-13 09:19:15 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-13 09:19:15 +0300
commit51d78b43de2c63a1953dc0002d40b7f145f61e95 (patch)
tree47fa3e3e17980c6a126dce8ac76815774d8a8a03 /source
parent867fc4b463ef39ea16103f18f332c3d259624d29 (diff)
Fixing compiling on windows
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/path_util.c2
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