X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=charset%2Fmp-charconv.c;h=ef0adf951c83a0b5de0a026763bccb5b1c7f0a06;hb=8c48090e240d68564c79eb29ac9004cc911bb5d0;hp=6615973cb4c23588ae2a6a38cccd90127911fe1f;hpb=86853b9855a18d6d75fd48cc1c466db7fb4984e1;p=libucw.git diff --git a/charset/mp-charconv.c b/charset/mp-charconv.c index 6615973c..ef0adf95 100644 --- a/charset/mp-charconv.c +++ b/charset/mp-charconv.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Character Conversion with Allocation on a Memory Pool + * Sherlock Library -- Character Conversion with Allocation on a Memory Pool * * (c) 2006 Pavel Charvat * @@ -17,12 +17,12 @@ mp_strconv(struct mempool *mp, byte *s, uns in_cs, uns out_cs) { if (in_cs == out_cs) return mp_strdup(mp, s); - + struct conv_context c; char *b[32]; uns bs[32], n = 0, sum = 0; uns l = strlen(s) + 1; - + conv_init(&c); conv_set_charset(&c, in_cs, out_cs); c.source = s;