From 41aac13d9eb1c39f34b2b8471f349471ee2f0f5b Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 18 Mar 2007 03:30:24 +0000 Subject: == 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. --- source/blender/src/header_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/src/header_info.c') diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index ed4d2a546b4..b948dbc921c 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -924,7 +924,7 @@ static uiBlock *info_openrecentmenu(void *arg_unused) menuwidth, 19, NULL, 0.0, 0.0, 1, 0, ""); } - for (recent = G.recent_files.first, i=0; i<10 && recent; recent = recent->next, i++) { + for (recent = G.recent_files.first, i=0; inext, i++) { if (strcmp(recent->filename, G.sce)!=0) { uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, recent->filename, 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, i+1, ""); -- cgit v1.2.3