diff options
author | Nathan Williams <njw@chromium.org> | 2011-04-14 13:30:15 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-04-14 13:30:15 -0500 |
commit | d05c87e4c80f1a56a613241d14de4faeb0a8304a (patch) | |
tree | 08585e540e8bfd8e677ac1a86c39f0b6cccb7dda /src/mm-charsets.h | |
parent | 0a06dd324dbcb255d28795eb78901fca21cc52c0 (diff) |
charset: change GSM unpack to take number of characters rather than octets
Change interface to take the number of GSM characters
rather than the number of octets, so that it is possible to
distinguish the 7-character and 8-character cases.
Diffstat (limited to 'src/mm-charsets.h')
-rw-r--r-- | src/mm-charsets.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-charsets.h b/src/mm-charsets.h index 661052da..efd89f3c 100644 --- a/src/mm-charsets.h +++ b/src/mm-charsets.h @@ -53,7 +53,7 @@ guint8 *mm_charset_utf8_to_unpacked_gsm (const char *utf8, guint32 *out_len); guint8 *mm_charset_gsm_unpacked_to_utf8 (const guint8 *gsm, guint32 len); guint8 *gsm_unpack (const guint8 *gsm, - guint32 gsm_len, + guint32 nchars, /* number of gsm characters, not octets */ guint8 start_offset, /* in bits */ guint32 *out_unpacked_len); |