smsutil: Fix up style issues from previous commit

This commit is contained in:
Denis Kenzior 2012-09-17 11:56:09 -05:00
parent 27b63a96c3
commit af9951d5d0
1 changed files with 3 additions and 4 deletions

View File

@ -4143,13 +4143,12 @@ char *cbs_decode_text(GSList *cbs_list, char *iso639_lang)
}
while (i < max_offset) {
if (ud[i] == 0x00 && ud[i+1] == '\r') {
if (ud[i] == 0x00 && ud[i + 1] == '\r') {
int j = i + 2;
for (; j < max_offset; j = j + 2)
if (ud[j] != 0x00 ||
ud[j + 1] !=
'\r')
if (ud[j + 1] != '\r' ||
ud[j] != 0x00)
break;
if (j == max_offset)