summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-05-10 11:04:08 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-05-10 12:51:08 -0400
commita0868a2d644755b39ee9f1d53c7c06647b9d9cbb (patch)
tree5cbd804086b1a40900228751595d5105574d11db
parentb24e48e2ffbc499b940942bbc52b4fe636c14b58 (diff)
editor: Removed unused utf8_characters() function
I left this in when I merged Jans patches.
-rw-r--r--clients/editor.c11
1 files changed, 0 insertions, 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,