summaryrefslogtreecommitdiff
path: root/src/cairo-unicode.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-06-06 15:50:33 -0700
committerCarl Worth <cworth@cworth.org>2006-06-06 15:50:33 -0700
commitef10a0403a8a466199615e34a34df9ea860ef9c0 (patch)
tree03020b1b5c6249f39c9beeb3bf9d4c878959ca86 /src/cairo-unicode.c
parent5278de09973c3e41028dc80a8862db01fc70cf11 (diff)
downloadcairo-ef10a0403a8a466199615e34a34df9ea860ef9c0.tar.gz
Remove initial, final, and duplicate blank lines.
This patch was produced by running git-stripspace on all *.[ch] files within cairo. Note that this script would have also created all the changes from the previous commits to remove trailing whitespace.
Diffstat (limited to 'src/cairo-unicode.c')
-rw-r--r--src/cairo-unicode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-unicode.c b/src/cairo-unicode.c
index 22b0efb40..8f99e82e2 100644
--- a/src/cairo-unicode.c
+++ b/src/cairo-unicode.c
@@ -85,7 +85,6 @@
((Char) < 0x200000 ? 4 : \
((Char) < 0x4000000 ? 5 : 6)))))
-
#define UTF8_GET(Result, Chars, Count, Mask, Len) \
(Result) = (Chars)[0] & (Mask); \
for ((Count) = 1; (Count) < (Len); ++(Count)) \
@@ -105,7 +104,6 @@
((Char) < 0xFDD0 || (Char) > 0xFDEF) && \
((Char) & 0xFFFE) != 0xFFFE)
-
static const char utf8_skip_data[256] = {
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
@@ -311,7 +309,6 @@ _cairo_utf8_to_utf16 (const unsigned char *str,
in = UTF8_NEXT_CHAR (in);
}
-
str16 = malloc (sizeof (uint16_t) * (n16 + 1));
if (!str16)
return CAIRO_STATUS_NO_MEMORY;