forked from len0rd/rockbox
Fixed player vkeyboard to properly work with unicode on target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8181 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aa28709910
commit
4a90fb6d85
1 changed files with 5 additions and 5 deletions
|
@ -35,11 +35,11 @@
|
|||
|
||||
extern unsigned short *lcd_ascii;
|
||||
|
||||
static unsigned short* kbd_setupkeys(int page, int* len)
|
||||
static unsigned char* kbd_setupkeys(int page, int* len)
|
||||
{
|
||||
static unsigned short lines[128];
|
||||
static unsigned char lines[128];
|
||||
|
||||
unsigned short ch;
|
||||
unsigned ch;
|
||||
int i = 0;
|
||||
|
||||
switch (page)
|
||||
|
@ -101,9 +101,9 @@ int kbd_input(char* text, int buflen)
|
|||
|
||||
int len, len_utf8, i, j;
|
||||
int editpos, curpos, leftpos;
|
||||
unsigned short* line = kbd_setupkeys(page, &linelen);
|
||||
unsigned char *line = kbd_setupkeys(page, &linelen);
|
||||
unsigned char temptext[36];
|
||||
unsigned short tmp;
|
||||
unsigned char tmp;
|
||||
unsigned char *utf8;
|
||||
|
||||
int button, lastbutton = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue