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:
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);
}