projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce1879
)
util: Style issues
author
Denis Kenzior
<denkenz@gmail.com>
Tue, 17 Jul 2012 03:51:43 +0000
(22:51 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Tue, 17 Jul 2012 03:51:43 +0000
(22:51 -0500)
src/util.c
patch
|
blob
|
history
diff --git
a/src/util.c
b/src/util.c
index
a9a69f9
..
057ae1c
100644
(file)
--- a/
src/util.c
+++ b/
src/util.c
@@
-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