util: Style issues

This commit is contained in:
Denis Kenzior 2012-07-16 22:51:43 -05:00
parent bce1879c1b
commit 416c1937c9
1 changed files with 2 additions and 3 deletions

View File

@ -642,9 +642,8 @@ char *convert_gsm_to_utf8_with_lang(const unsigned char *text, long len,
*/
if (c == GUND)
c = gsm_locking_shift_lookup(&t, text[i]);
} else {
} else
c = gsm_locking_shift_lookup(&t, text[i]);
}
res_length += UTF8_LENGTH(c);
}
@ -661,7 +660,7 @@ char *convert_gsm_to_utf8_with_lang(const unsigned char *text, long len,
if (text[i] == 0x1b) {
c = gsm_single_shift_lookup(&t, text[++i]);
/* See 3GPP 23.038 section 6.2.1.1 */
if (c == GUND)
c = gsm_locking_shift_lookup(&t, text[i]);
} else