projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b24e48e
)
editor: Removed unused utf8_characters() function
author
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 10 May 2013 15:04:08 +0000
(11:04 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 10 May 2013 16:51:08 +0000
(12:51 -0400)
I left this in when I merged Jans patches.
clients/editor.c
patch
|
blob
|
history
diff --git
a/clients/editor.c
b/clients/editor.c
index
34fbf23
..
7c90ed9
100644
(file)
--- 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,