summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-08 10:38:28 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-08 10:38:28 +0000
commit217ad16850e17ebce914af790eb1d31b818eaadb (patch)
tree4296b388a5c48f613ac2ce65284a090c6fe2c8c8
parent0f17532c9ddb2282c385ce6ad501a2e5d94acbe5 (diff)
downloadrockbox-217ad16850e17ebce914af790eb1d31b818eaadb.tar.gz
rockbox-217ad16850e17ebce914af790eb1d31b818eaadb.zip
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
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index ae2797ed09..dee720b4cb 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -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++)
{