phonebook: Trivial style / wording fixes

This commit is contained in:
Denis Kenzior 2010-08-30 17:58:53 -05:00
parent b452c29d42
commit 150edce5c3
1 changed files with 5 additions and 4 deletions

View File

@ -62,8 +62,8 @@ struct pb_data {
static void warn_bad() static void warn_bad()
{ {
ofono_warn("Name field conversion to UTF8 failed, this can indicate a" ofono_warn("Name field conversion to UTF8 failed, this can indicate a"
" problem with modem integration, as this field" " problem with modem integration, as this field"
" is required by 27.007."); " is required by 27.007.");
} }
static gboolean parse_text(GAtResultIter *iter, char **str, int encoding) static gboolean parse_text(GAtResultIter *iter, char **str, int encoding)
@ -75,8 +75,8 @@ static gboolean parse_text(GAtResultIter *iter, char **str, int encoding)
/* charset_current is CHARSET_UCS2, CHARSET_IRA or CHARSET_UTF8 */ /* charset_current is CHARSET_UCS2, CHARSET_IRA or CHARSET_UTF8 */
if (encoding == CHARSET_UCS2) { if (encoding == CHARSET_UCS2) {
/* /*
* Some devices omit the quotes, so use hexstring, * Some devices omit the quotes, so use next_hexstring,
* which also decode to hex * which handles quoted or unquoted hex strings
*/ */
if (g_at_result_iter_next_hexstring(iter, &hex, &len) == FALSE) if (g_at_result_iter_next_hexstring(iter, &hex, &len) == FALSE)
return FALSE; return FALSE;
@ -92,6 +92,7 @@ static gboolean parse_text(GAtResultIter *iter, char **str, int encoding)
return FALSE; return FALSE;
} }
/* /*
* In the case of IRA charset, assume these are Latin1 * In the case of IRA charset, assume these are Latin1
* characters, same as in UTF8 * characters, same as in UTF8