projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xgetcwd: Move AC_LIBOBJ invocations to module description.
[gnulib.git]
/
lib
/
unistr
/
u32-prev.c
diff --git
a/lib/unistr/u32-prev.c
b/lib/unistr/u32-prev.c
index
bc20c93
..
c77f50c
100644
(file)
--- a/
lib/unistr/u32-prev.c
+++ b/
lib/unistr/u32-prev.c
@@
-1,5
+1,5
@@
/* Iterate over previous character in UTF-32 string.
/* Iterate over previous character in UTF-32 string.
- Copyright (C) 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006-2007
, 2009-2011
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
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
@@
-30,10
+30,10
@@
u32_prev (ucs4_t *puc, const uint32_t *s, const uint32_t *start)
#if CONFIG_UNICODE_SAFETY
if (c_1 < 0xd800 || (c_1 >= 0xe000 && c_1 < 0x110000))
#endif
#if CONFIG_UNICODE_SAFETY
if (c_1 < 0xd800 || (c_1 >= 0xe000 && c_1 < 0x110000))
#endif
- {
- *puc = c_1;
- return s - 1;
- }
+
{
+
*puc = c_1;
+
return s - 1;
+
}
}
return NULL;
}
}
return NULL;
}