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-strrchr.c
diff --git
a/lib/unistr/u32-strrchr.c
b/lib/unistr/u32-strrchr.c
index
b4641f3
..
436e351
100644
(file)
--- a/
lib/unistr/u32-strrchr.c
+++ b/
lib/unistr/u32-strrchr.c
@@
-1,5
+1,5
@@
/* Search character in UTF-32 string.
/* Search character in UTF-32 string.
- Copyright (C) 1999, 2002, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002, 2006
, 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,9
+30,9
@@
u32_strrchr (const uint32_t *s, ucs4_t uc)
for (;; s++)
{
if (*s == uc)
for (;; s++)
{
if (*s == uc)
- result = (uint32_t *) s;
+
result = (uint32_t *) s;
if (*s == 0)
if (*s == 0)
- break;
+
break;
}
return result;
}
}
return result;
}