mirror of git://git.sysmocom.de/ofono
Minor style issue
This commit is contained in:
parent
5068e895cb
commit
b49479b2b4
|
@ -1997,7 +1997,6 @@ char *sms_decode_text(GSList *sms_list)
|
||||||
|
|
||||||
converted = convert_gsm_to_utf8(buf, written,
|
converted = convert_gsm_to_utf8(buf, written,
|
||||||
NULL, NULL, 0);
|
NULL, NULL, 0);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const gchar *from = (const gchar *)(ud + taken);
|
const gchar *from = (const gchar *)(ud + taken);
|
||||||
/* According to the spec: A UCS2 character shall not be
|
/* According to the spec: A UCS2 character shall not be
|
||||||
|
@ -2011,7 +2010,6 @@ char *sms_decode_text(GSList *sms_list)
|
||||||
converted = g_convert(from, num_ucs2_chars,
|
converted = g_convert(from, num_ucs2_chars,
|
||||||
"UTF-8//TRANSLIT", "UCS-2BE",
|
"UTF-8//TRANSLIT", "UCS-2BE",
|
||||||
NULL, NULL, NULL);
|
NULL, NULL, NULL);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (converted) {
|
if (converted) {
|
||||||
|
|
Loading…
Reference in New Issue