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:
authorJoshua Leung <aligorith@gmail.com>2007-03-18 06:30:24 +0300
committerJoshua Leung <aligorith@gmail.com>2007-03-18 06:30:24 +0300
commit41aac13d9eb1c39f34b2b8471f349471ee2f0f5b (patch)
treee2eb17b843a30a24d58f178fbf16147292c2789d /source/blender/src/toets.c
parent6b4f197983c013707e23a69628f26dcb0b2b9c5a (diff)
== Recently-Opened Files List (Patch #5708) ==
In the past, this was limited to only having 10 items. Now you can set the number of recently opened files that are remembered (ranging from 0 to 30 items). Setting for this can be found under 'Auto-Save' in the Info window.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r--source/blender/src/toets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index dbbe97fbe20..04b21d32203 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -377,7 +377,7 @@ char *recent_filelist(void)
ofs = 1;
} else ofs = 0;
- for (recent = G.recent_files.first, i=0; (i<10) && (recent); recent = recent->next, i++) {
+ for (recent = G.recent_files.first, i=0; (i<U.recent_files) && (recent); recent = recent->next, i++) {
if (strcmp(recent->filename, G.sce)) {
p+= sprintf(p, "|%s %%x%d", recent->filename, i+ofs+1);
}