summaryrefslogtreecommitdiff
path: root/lib/unistr/u-strdup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u-strdup.h')
-rw-r--r--lib/unistr/u-strdup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/unistr/u-strdup.h b/lib/unistr/u-strdup.h
index 71e527a..a92e1ef 100644
--- a/lib/unistr/u-strdup.h
+++ b/lib/unistr/u-strdup.h
@@ -1,5 +1,6 @@
/* Copy UTF-8/UTF-16/UTF-32 string.
- Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006-2007, 2009-2010 Free Software Foundation,
+ Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
@@ -31,7 +32,7 @@ FUNC (const UNIT *s)
UNIT *destptr = dest;
for (; n > 0; n--)
- *destptr++ = *s++;
+ *destptr++ = *s++;
#else
memcpy ((char *) dest, (const char *) s, n * sizeof (UNIT));
#endif