forked from len0rd/rockbox
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:
parent
82b26d2e5d
commit
38be0e65d3
1 changed files with 5 additions and 1 deletions
|
|
@ -255,8 +255,12 @@ static int get_param_k(const struct keyboard_parameters *pm)
|
||||||
int kbd_input(char* text, int buflen)
|
int kbd_input(char* text, int buflen)
|
||||||
{
|
{
|
||||||
bool done = false;
|
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;
|
struct keyboard_parameters * volatile param = kbd_param;
|
||||||
|
#else
|
||||||
|
struct keyboard_parameters * const param = kbd_param;
|
||||||
|
#endif
|
||||||
int l; /* screen loop variable */
|
int l; /* screen loop variable */
|
||||||
int text_w = 0;
|
int text_w = 0;
|
||||||
int editpos; /* Edit position on all screens */
|
int editpos; /* Edit position on all screens */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue