summaryrefslogtreecommitdiff
path: root/src/charset/encodings
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-30 00:25:20 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-30 00:25:20 +0000
commit7712c61effc3ef39d0b9eaf060049d11441884bf (patch)
tree5ef5c0a25f85b5bb0c7e528514ae58d5e5fefe43 /src/charset/encodings
parent16643b695cdc00dfc4580bb66b894b931ff74693 (diff)
downloadlibparserutils-7712c61effc3ef39d0b9eaf060049d11441884bf.tar.gz
libparserutils-7712c61effc3ef39d0b9eaf060049d11441884bf.tar.bz2
Pedantic whitespace changes
svn path=/trunk/libparserutils/; revision=5842
Diffstat (limited to 'src/charset/encodings')
-rw-r--r--src/charset/encodings/utf8impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/charset/encodings/utf8impl.h b/src/charset/encodings/utf8impl.h
index 45707aa..a51eef1 100644
--- a/src/charset/encodings/utf8impl.h
+++ b/src/charset/encodings/utf8impl.h
@@ -84,7 +84,7 @@ do { \
break; \
} \
\
- for (i = 1; i < n; i++) { \
+ for (i = 1; i < n; i++) { \
uint32_t t = s[i]; \
\
if ((t & 0xC0) != 0x80) { \
@@ -158,9 +158,9 @@ do { \
\
if (l == 1) { \
buf[0] = (uint8_t) ucs4; \
- } else { \
- uint8_t i; \
- for (i = l; i > 1; i--) { \
+ } else { \
+ uint8_t i; \
+ for (i = l; i > 1; i--) { \
buf[i - 1] = 0x80 | (ucs4 & 0x3F); \
ucs4 >>= 6; \
} \