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-check.c
diff --git
a/lib/unistr/u32-check.c
b/lib/unistr/u32-check.c
index
87e9127
..
f68fae4
100644
(file)
--- a/
lib/unistr/u32-check.c
+++ b/
lib/unistr/u32-check.c
@@
-30,10
+30,10
@@
u32_check (const uint32_t *s, size_t n)
uint32_t c = *s;
if (c < 0xd800 || (c >= 0xe000 && c < 0x110000))
- s++;
+
s++;
else
- /* invalid Unicode character */
- return s;
+
/* invalid Unicode character */
+
return s;
}
return NULL;
}