diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-01-17 18:04:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-01-17 18:04:37 +0300 |
commit | b9039611c673e5c9e6954bf5474bdb2b023a8a99 (patch) | |
tree | 09d3cf32a191c492c6cfe6146d30210455da0b41 /source/blender/python/BPY_menus.c | |
parent | b630794be7948bee460a1bb63698752bc61a7da6 (diff) |
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
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r-- | source/blender/python/BPY_menus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c index 6ad963fe12a..bee674c2b7a 100644 --- a/source/blender/python/BPY_menus.c +++ b/source/blender/python/BPY_menus.c @@ -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) { |