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
/
u32-uctomb.c
diff --git
a/lib/unistr/u32-uctomb.c
b/lib/unistr/u32-uctomb.c
index
583b3b6
..
939c877
100644
(file)
--- a/
lib/unistr/u32-uctomb.c
+++ b/
lib/unistr/u32-uctomb.c
@@
-33,12
+33,12
@@
u32_uctomb (uint32_t *s, ucs4_t uc, int n)
if (uc < 0xd800 || (uc >= 0xe000 && uc < 0x110000))
{
if (n > 0)
- {
- *s = uc;
- return 1;
- }
+
{
+
*s = uc;
+
return 1;
+
}
else
- return -2;
+
return -2;
}
else
return -1;