summaryrefslogtreecommitdiff
path: root/lib/unistr/u8-set.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u8-set.c')
-rw-r--r--lib/unistr/u8-set.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/unistr/u8-set.c b/lib/unistr/u8-set.c
index 5bb4fd7ae5..ac1536e111 100644
--- a/lib/unistr/u8-set.c
+++ b/lib/unistr/u8-set.c
@@ -33,12 +33,12 @@ FUNC (UNIT *s, ucs4_t uc, size_t n)
if (n > 0)
{
if (IS_SINGLE_UNIT (uc))
- memset ((char *) s, uc, n);
+ memset ((char *) s, uc, n);
else
- {
- errno = EILSEQ;
- return NULL;
- }
+ {
+ errno = EILSEQ;
+ return NULL;
+ }
}
return s;
}