summaryrefslogtreecommitdiff
path: root/apps/plugins/databox/edittoken.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-27 22:43:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-27 22:43:11 +0000
commitc9cb607a196ed2c20dafce331aadd755379aaa58 (patch)
tree0e08c1711b56e0a243d73f45668f6125711e5074 /apps/plugins/databox/edittoken.c
parenta24017f4da1be50a43bd14db607205582abc7544 (diff)
downloadrockbox-c9cb607a196ed2c20dafce331aadd755379aaa58.zip
rockbox-c9cb607a196ed2c20dafce331aadd755379aaa58.tar.gz
rockbox-c9cb607a196ed2c20dafce331aadd755379aaa58.tar.bz2
rockbox-c9cb607a196ed2c20dafce331aadd755379aaa58.tar.xz
I bet nobody enters more than 100 letters in search strings, and since there
are 70 of these, we gain 10K in one single step. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6902 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/databox/edittoken.c')
-rw-r--r--apps/plugins/databox/edittoken.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/databox/edittoken.c b/apps/plugins/databox/edittoken.c
index d3145b7..e2e1c91 100644
--- a/apps/plugins/databox/edittoken.c
+++ b/apps/plugins/databox/edittoken.c
@@ -98,7 +98,7 @@ void buildtoken(int tokentype,struct token *token) {
case TOKEN_STRING:
do {
rb->splash(HZ*2,true,"Enter String.");
- } while(rb->kbd_input(token->spelling, 254));
+ } while(rb->kbd_input(token->spelling, SPELLING_LENGTH));
break;
case TOKEN_YEAR:
token->kind=TOKEN_NUMIDENTIFIER;