diff --git a/bench/icu.c b/bench/icu.c index 3ac3514..a162c32 100644 --- a/bench/icu.c +++ b/bench/icu.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) /* ICU's insane normalization API requires you to know the size of the destination buffer in advance, - or alternatively to repeatly try normalizing and + or alternatively to repeatedly try normalizing and double the buffer size until it succeeds. Here, I just allocate a huge destination buffer to avoid the issue. */ UChar *udest = (UChar*) malloc(10*ulen * sizeof(UChar)); diff --git a/bench/unistring.c b/bench/unistring.c index 2cc5ce8..8a97f3c 100644 --- a/bench/unistring.c +++ b/bench/unistring.c @@ -1,4 +1,4 @@ -/* comparitive benchmark of GNU libunistring */ +/* comparative benchmark of GNU libunistring */ #include #include diff --git a/data/charwidths.jl b/data/charwidths.jl index 9b3d508..3652b2e 100644 --- a/data/charwidths.jl +++ b/data/charwidths.jl @@ -52,7 +52,7 @@ const UTF8PROC_CATEGORY_CO = 29 ############################################################################# # Use a default width of 1 for all character categories that are # letter/symbol/number-like, as well as for unassigned/private-use chars. -# This can be overriden by UAX 11 +# This can be overridden by UAX 11 # below, but provides a useful nonzero fallback for new codepoints when # a new Unicode version has been released but Unifont hasn't been updated yet.