Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-10-16 14:22:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-16 14:22:11 +0400
commit5938b4c93e92c6663f134a3e1e4ec36e22469ee2 (patch)
tree66fa0a527046d6b91d30d6870d02a8a6b4544b25 /source/blender/editors/space_file/filesel.c
parent59f330cce06abaccc34845e4f2cae89bd9e705be (diff)
new utility function for BLI_storage.h - BLI_is_dir
currently unsupported on windows. should fix this too [#19656] N-Panel in filebrowser not working though typing in invalid names then becomes possible
Diffstat (limited to 'source/blender/editors/space_file/filesel.c')
-rw-r--r--source/blender/editors/space_file/filesel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c
index 89678bffd01..cc0c1ca33aa 100644
--- a/source/blender/editors/space_file/filesel.c
+++ b/source/blender/editors/space_file/filesel.c
@@ -388,7 +388,7 @@ void file_change_dir(struct SpaceFile *sfile, int checkdir)
{
if (sfile->params) {
- if(checkdir && S_ISDIR(BLI_exists(sfile->params->dir)) == 0) {
+ if(checkdir && BLI_is_dir(sfile->params->dir)==0) {
BLI_strncpy(sfile->params->dir, filelist_dir(sfile->files), sizeof(sfile->params->dir));
/* could return but just refresh the current dir */
}