== installation paths ==
[blender.git] / source / blender / editors / space_file / file_ops.c
index 55a44b36a5224f95da5ee920b25164c2cdc5a9ce..bd7be303e333077ebec88ab7b43c1a9ed95a2a3c 100644 (file)
@@ -945,7 +945,7 @@ int file_directory_exec(bContext *C, wmOperator *unused)
                if ( sfile->params->dir[0] == '~' ) {
                        char tmpstr[sizeof(sfile->params->dir)-1];
                        strncpy(tmpstr, sfile->params->dir+1, sizeof(tmpstr));
-                       BLI_join_dirfile(sfile->params->dir, BLI_gethome(), tmpstr);
+                       BLI_join_dirfile(sfile->params->dir, BLI_getDefaultDocumentFolder(), tmpstr);
                }
 
 #ifdef WIN32