aboutsummaryrefslogtreecommitdiff
path: root/moji.c
diff options
context:
space:
mode:
Diffstat (limited to 'moji.c')
-rw-r--r--moji.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/moji.c b/moji.c
index 0aaaaff..88fe62d 100644
--- a/moji.c
+++ b/moji.c
@@ -189,7 +189,11 @@ static void write_buf(void)
static int right_click_pressed(GtkWidget *widget, gpointer data)
{
- backspace();
+ if (current_chars == &emoji)
+ current_chars = &alphabet;
+ else if (current_chars == &alphabet)
+ current_chars = &emoji;
+ current_letter = 0;
write_buf();
return TRUE;
}