== installation paths ==
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 5bfaf91aa1108faaf4da4821693bd122a4774c8e..558d20021ce6ea0a3ac692443eb81f3abab93dac 100644 (file)
@@ -166,7 +166,7 @@ void WM_init(bContext *C, int argc, char **argv)
        read_history();
 
        if(G.sce[0] == 0)
-               BLI_make_file_string("/", G.sce, BLI_gethome(), "untitled.blend");
+               BLI_make_file_string("/", G.sce, BLI_getDefaultDocumentFolder(), "untitled.blend");
 
        BLI_strncpy(G.lib, G.sce, FILE_MAX);