aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-gtk/interface.c')
-rw-r--r--src/interface-gtk/interface.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/interface-gtk/interface.c b/src/interface-gtk/interface.c
index bddd51f..ed027a2 100644
--- a/src/interface-gtk/interface.c
+++ b/src/interface-gtk/interface.c
@@ -876,14 +876,6 @@ teco_interface_cmdline_commit_cb(GtkIMContext *context, gchar *str, gpointer use
{
g_autoptr(GError) error = NULL;
- /*
- * FIXME: This is only for consistency as long as we
- * do not support Unicode.
- */
- for (char *p = str; *p != '\0'; p = g_utf8_next_char(p))
- if (g_utf8_get_char(p) >= 0x80)
- return;
-
if (!teco_cmdline_keypress(str, strlen(str), &error) &&
g_error_matches(error, TECO_ERROR, TECO_ERROR_QUIT))
gtk_main_quit();