Fix [#20860] File/Open Recent Should Show Blend File, Not path

Max number of characters for ui elements was too low, raised this to allow 
very long buttons (eg. file paths)
This commit is contained in:
Matt Ebb 2010-01-29 00:47:38 +00:00
parent 6d1895e846
commit a180314ac5
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ typedef enum {
#define UI_MAX_DRAW_STR 400
#define UI_MAX_NAME_STR 64
#define UI_MAX_NAME_STR 128
#define UI_ARRAY 29
/* panel limits */

View File

@ -371,7 +371,7 @@ static void template_ID(bContext *C, uiLayout *layout, TemplateID *template, Str
/* text button with name */
if(id) {
char name[64];
char name[UI_MAX_NAME_STR];
//text_idbutton(id, name);
name[0]= '\0';