diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c index 28831018fa1..b26f9b5b3d8 100644 --- a/source/blender/blenlib/intern/util.c +++ b/source/blender/blenlib/intern/util.c @@ -822,7 +822,7 @@ int BLI_convertstringcode(char *path, const char *basepath, int framenum) char base[FILE_MAXDIR]; char vol[3] = {'\0', '\0', '\0'}; - BLI_strncpy(vol, path, 2); + BLI_strncpy(vol, path, 3); wasrelative= (strncmp(vol, "//", 2)==0); #ifdef WIN32 |