diff options
-rw-r--r-- | source/blender/blenlib/intern/util.c | 10 | ||||
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 | ||||
-rw-r--r-- | source/blender/src/usiblender.c | 2 |
3 files changed, 4 insertions, 10 deletions
diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c index 49e2cc7f8fb..f100a1fcfc4 100644 --- a/source/blender/blenlib/intern/util.c +++ b/source/blender/blenlib/intern/util.c @@ -507,14 +507,8 @@ char *BLI_gethome(void) { if (BLI_exists(dir)) { - //strcat(dir,".blender/"); - strcpy(tmpdir,dir); - strcat(tmpdir,"/.blender/.B.blend"); - if (BLI_exists(tmpdir)) - { - strcat(dir,"/.blender/"); - return(dir); - } + strcat(dir,"/.blender"); + if (BLI_exists(dir)) return(dir); } /* diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 25f4fa28f8e..f7cce90ae5e 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1608,7 +1608,7 @@ int BLO_write_file(char *dir, int write_flags, char **error_r) return 0; } -#ifdef WIN32 +#if 0 BLI_getInstallationDir(tmpdir); if(BLI_exists(tmpdir)) diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index 3d8cc8e8c1e..0cc5e05a403 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -420,7 +420,7 @@ void BIF_write_homefile(void) To be removed at v2.4 or so! ;) */ -#ifdef WIN32 +#if 0 char dir[FILE_MAXDIR+FILE_MAXFILE]; BLI_getInstallationDir(dir); |