diff options
author | Carl Worth <cworth@cworth.org> | 2006-06-06 15:50:33 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-06-06 15:50:33 -0700 |
commit | ef10a0403a8a466199615e34a34df9ea860ef9c0 (patch) | |
tree | 03020b1b5c6249f39c9beeb3bf9d4c878959ca86 /src/cairo-unicode.c | |
parent | 5278de09973c3e41028dc80a8862db01fc70cf11 (diff) |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cairo-unicode.c b/src/cairo-unicode.c index 22b0efb4..8f99e82e 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; |