Merging r41176 through r41192 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / interface / resources.c
index 3776d57f953753d6ea83c966a6aeb6d5ccaa6003..8b140e40cb15bae16cc4369816430636b5c11c21 100644 (file)
@@ -1167,7 +1167,7 @@ void init_userdef_do_versions(void)
        }
        if(U.mixbufsize==0) U.mixbufsize= 2048;
        if (strcmp(U.tempdir, "/") == 0) {
-               BLI_where_is_temp(U.tempdir, sizeof(U.tempdir), FALSE);
+               BLI_system_temporary_dir(U.tempdir);
        }
        if (U.autokey_mode == 0) {
                /* 'add/replace' but not on */