Remove redundant utf-16 buffer term
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 30 Mar 2011 11:41:12 +0000 (13:41 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 30 Mar 2011 11:41:12 +0000 (13:41 +0200)
src/icu_transform.c

index 478efa1..e8d2012 100644 (file)
@@ -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);