- fix for relative path: BLI_strncpy needs to be passed len+1 !

(introduced by my last patch - ouch)
This commit is contained in:
Andrea Weikert 2006-10-02 16:11:57 +00:00
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