projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use spaces for indentation, not tabs.
[gnulib.git]
/
lib
/
unistr
/
u16-strmbtouc.c
diff --git
a/lib/unistr/u16-strmbtouc.c
b/lib/unistr/u16-strmbtouc.c
index
78d482e
..
e9cfb06
100644
(file)
--- a/
lib/unistr/u16-strmbtouc.c
+++ b/
lib/unistr/u16-strmbtouc.c
@@
-40,10
+40,10
@@
u16_strmbtouc (ucs4_t *puc, const uint16_t *s)
#else
if (s[1] != 0)
#endif
- {
- *puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00);
- return 2;
- }
+
{
+
*puc = 0x10000 + ((c - 0xd800) << 10) + (s[1] - 0xdc00);
+
return 2;
+
}
}
/* invalid or incomplete multibyte character */
return -1;