From: Kristian Høgsberg Date: Fri, 10 May 2013 15:04:08 +0000 (-0400) Subject: editor: Removed unused utf8_characters() function X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0868a2d644755b39ee9f1d53c7c06647b9d9cbb;p=profile%2Fivi%2Fweston-ivi-shell.git editor: Removed unused utf8_characters() function I left this in when I merged Jans patches. --- 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,