projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86878f2
)
Remove redundant utf-16 buffer term
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Mar 2011 11:41:12 +0000
(13:41 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 30 Mar 2011 11:41:12 +0000
(13:41 +0200)
src/icu_transform.c
patch
|
blob
|
history
diff --git
a/src/icu_transform.c
b/src/icu_transform.c
index
478efa1
..
e8d2012
100644
(file)
--- a/
src/icu_transform.c
+++ b/
src/icu_transform.c
@@
-60,10
+60,8
@@
struct icu_transform * icu_transform_create(const char *id, char action,
transform->trans = 0;
if (id)
- {
icu_utf16_from_utf8_cstr(id16, id, status);
- id16->utf16[id16->utf16_len] = 0;
- }
+
if (rules)
icu_utf16_from_utf8_cstr(rules16, rules, status);