bugfix for 5572, BLI_makestringcode was being used to join 2 paths, but adding c:\ to the start of a non root dir. it wold be nice to have a BLI_join_path for this to avoid #ifdef WIN32's in the main code and to check for existing slashes

This commit is contained in:
Campbell Barton
2007-01-17 15:04:37 +00:00
parent b630794be7
commit b9039611c6

View File

@@ -836,7 +836,7 @@ static int bpymenu_ParseDir(char *dirname, char *parentdir, int is_userdir )
if ((de->d_name[0] == '.') || !strncmp(de->d_name, "bpy", 3)) {
continue;
}
BLI_make_file_string("/", path, dirname, de->d_name);
if (stat(path, &status) != 0) {