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>2008-05-31 23:08:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-31 23:08:12 +0400
commit526d9cc5fc9bd423815bddd0191fbafb82209f1e (patch)
treed4d04d81d41ff4882e93133a292f80b7368da4cf /source/blender/src
parentc6528b3cd4d3507c9ae5b9cfa70d832731d95aec (diff)
bugfix for own error
glitch when typing in / would ask the user to make a new directory. the last shash was being removed, then the "" path didnt exist and asked to create it.
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/filesel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c
index 9689ffdafeb..2ba5745b19b 100644
--- a/source/blender/src/filesel.c
+++ b/source/blender/src/filesel.c
@@ -1591,7 +1591,7 @@ static void do_filesel_buttons(short event, SpaceFile *sfile)
BLI_del_slash(butname);
if(sfile->type & FILE_UNIX) {
- if (!BLI_exists(butname)) {
+ if (butname[0] != '\0' && !BLI_exists(butname)) {
if (okee("Makedir")) {
BLI_recurdir_fileops(butname);
if (!BLI_exists(butname)) parent(sfile);