1
0
Fork 0
forked from len0rd/rockbox

OK, this was crazy overkill... the worst setting current

(default_codepage) will _just_ fit in 128, so 256 gives plenty of 
headroom


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12232 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-02-08 10:38:28 +00:00
parent 0f17532c9d
commit 217ad16850

View file

@ -643,9 +643,9 @@ int do_menu(const struct menu_item_ex *start_menu)
else if (setting->flags&F_CHOICE_SETTING)
{
static struct opt_items options[MAX_OPTIONS];
static char buffer[1024];
static char buffer[256];
char *buf_start = buffer;
int buf_free = 1024;
int buf_free = 256;
int i,j, count = setting->choice_setting->count;
for (i=0, j=0; i<count && i<MAX_OPTIONS; i++)
{