griffin fix

This commit is contained in:
Jean-André Santoni 2016-11-02 23:39:28 +01:00
parent 6652a6fcf7
commit 810ff5605d

View File

@ -62,8 +62,8 @@ enum osk_type
static enum osk_type osk_idx = OSK_LOWERCASE_LATIN;
static int osk_ptr;
static const char *osk_grid[45];
static unsigned osk_last_codepoint = 0;
static unsigned osk_last_codepoint_len = 0;
static unsigned me_osk_last_codepoint = 0;
static unsigned me_osk_last_codepoint_len = 0;
static const char *uppercase_grid[] = {
"!","@","#","$","%","^","&","*","(",")","",
@ -336,8 +336,8 @@ unsigned menu_event(uint64_t input, uint64_t trigger_input)
{
const char *letter = osk_grid[osk_ptr];
osk_last_codepoint_len = strlen(osk_grid[osk_ptr]);
osk_last_codepoint = utf8_walk(&letter);
me_osk_last_codepoint_len = strlen(osk_grid[osk_ptr]);
me_osk_last_codepoint = utf8_walk(&letter);
menu_event_osk_append(osk_ptr);
}