diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-05-08 03:34:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-05-08 03:34:03 +0400 |
commit | 14b41f907803a1383075f497dfc7ab9bcb843ad8 (patch) | |
tree | 8f199dbce7f7dd244fbed4d2a257ed2f5d6e295c /source/blender/blenlib/intern | |
parent | b2b780f2fe9a97ce4ed97e9fc93ec05b6c4d906d (diff) |
bugfix [#22276] filemanager autocompleate based on current path
also added autocomp to filename in fileselector
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/bpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 2367af470fe..afe73a53e5b 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -622,7 +622,7 @@ static int findFileRecursive(char *filename_new, const char *dirname, const char while ((de = readdir(dir)) != NULL) { - if (strncmp(".", de->d_name, 2)==0 || strncmp("..", de->d_name, 3)==0) + if (strcmp(".", de->d_name)==0 || strcmp("..", de->d_name)==0) continue; BLI_join_dirfile(path, dirname, de->d_name); |