forked from bartvdbraak/blender
- fix for relative path: BLI_strncpy needs to be passed len+1 !
(introduced by my last patch - ouch)
This commit is contained in:
parent
b62927b85c
commit
ecfdda30cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user