Refine the hack. Best I can do I think.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12637 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-03-06 08:19:00 +00:00
parent 82b26d2e5d
commit 38be0e65d3

View file

@ -255,8 +255,12 @@ static int get_param_k(const struct keyboard_parameters *pm)
int kbd_input(char* text, int buflen)
{
bool done = false;
/* This seems to keep the sizes of everything down */
#ifdef CPU_ARM
/* This seems to keep the sizes for ARM way down */
struct keyboard_parameters * volatile param = kbd_param;
#else
struct keyboard_parameters * const param = kbd_param;
#endif
int l; /* screen loop variable */
int text_w = 0;
int editpos; /* Edit position on all screens */