aboutsummaryrefslogtreecommitdiff
path: root/src/ellinika
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-06-04 13:14:53 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2011-06-04 13:14:53 +0000
commit4a32316d7df8854790f65f128af287107831386b (patch)
treeeaac3be923283f9b53180141404e50b14b3e515d /src/ellinika
parent8d4d5b758ef1f09a4ed39a25a07a09f9c26d0aec (diff)
downloadellinika-4a32316d7df8854790f65f128af287107831386b.tar.gz
ellinika-4a32316d7df8854790f65f128af287107831386b.tar.bz2
Fix indentation.
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@563 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'src/ellinika')
-rw-r--r--src/ellinika/utf8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ellinika/utf8.c b/src/ellinika/utf8.c
index b946a3b..c8de9de 100644
--- a/src/ellinika/utf8.c
+++ b/src/ellinika/utf8.c
@@ -1672,13 +1672,14 @@ utf8_mbtowc_internal(void *data, int (*read) (void *), unsigned int *pwc)
nextc(s[1]);
nextc(s[2]);
nextc(s[3]);
if (!((s[1] ^ 0x80) < 0x40 &&
(s[2] ^ 0x80) < 0x40 &&
- (s[3] ^ 0x80) < 0x40 && (s[0] >= 0xf1 || s[1] >= 0x90))) {
+ (s[3] ^ 0x80) < 0x40 &&
+ (s[0] >= 0xf1 || s[1] >= 0x90))) {
errno = EILSEQ;
return -1;
}
*pwc = ((unsigned long) (s[0] & 0x07) << 18) |
((unsigned long) (s[1] ^ 0x80) << 12) |

Return to:

Send suggestions and report system problems to the System administrator.