From a0868a2d644755b39ee9f1d53c7c06647b9d9cbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 10 May 2013 11:04:08 -0400 Subject: [PATCH] editor: Removed unused utf8_characters() function I left this in when I merged Jans patches. --- clients/editor.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/clients/editor.c b/clients/editor.c index 34fbf23..7c90ed9 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -107,17 +107,6 @@ utf8_next_char(const char *p) return NULL; } -static uint32_t -utf8_characters(const char *p) -{ - uint32_t offset; - - for (offset = 0; *p != 0; offset++) - p = utf8_next_char(p); - - return offset; -} - static void text_entry_redraw_handler(struct widget *widget, void *data); static void text_entry_button_handler(struct widget *widget, struct input *input, uint32_t time, -- 2.7.4