diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-08 10:38:28 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-02-08 10:38:28 +0000 |
commit | 217ad16850e17ebce914af790eb1d31b818eaadb (patch) | |
tree | 4296b388a5c48f613ac2ce65284a090c6fe2c8c8 /apps/menu.c | |
parent | 0f17532c9ddb2282c385ce6ad501a2e5d94acbe5 (diff) |
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
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 4 |
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++) { |