From df292276d42d4adff904eee0ff11b77443db01d9 Mon Sep 17 00:00:00 2001 From: David Turner Date: Mon, 5 Apr 2004 22:47:11 +0000 Subject: [PATCH] fixinf typo "Comapre" => "Compare" --- src/otlayout/ot-array.c | 2 +- src/otlayout/ot-array.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/otlayout/ot-array.c b/src/otlayout/ot-array.c index aaa286e26..79f23f8e8 100644 --- a/src/otlayout/ot-array.c +++ b/src/otlayout/ot-array.c @@ -72,7 +72,7 @@ } FT_LOCAL_DEF( void ) - OT_Array_Sort ( OTArray * array, OT_Array_Comapre_Func func ) + OT_Array_Sort ( OTArray * array, OT_Array_Compare_Func func ) { ft_qsort ( array->data, array->length, array->element_size, func ); } diff --git a/src/otlayout/ot-array.h b/src/otlayout/ot-array.h index 89ea4a097..25eb0511c 100644 --- a/src/otlayout/ot-array.h +++ b/src/otlayout/ot-array.h @@ -27,7 +27,7 @@ FT_BEGIN_HEADER typedef struct _OTArray OTArray; - typedef FT_Int (*OT_Array_Comapre_Func) (const void * a, const void * b ); + typedef FT_Int (*OT_Array_Compare_Func) (const void * a, const void * b ); struct _OTArray { @@ -41,7 +41,7 @@ FT_BEGIN_HEADER FT_LOCAL( OTArray * ) OT_Array_New ( FT_UInt element_size, FT_Memory memory ); FT_LOCAL( void ) OT_Array_Free ( OTArray * array ); FT_LOCAL( OTArray * ) OT_Array_Set_Size ( OTArray * array, FT_UInt length ); - FT_LOCAL( void ) OT_Array_Sort ( OTArray * array, OT_Array_Comapre_Func func ); + FT_LOCAL( void ) OT_Array_Sort ( OTArray * array, OT_Array_Compare_Func func ); FT_LOCAL( OTArray * ) OT_Array_Append_Val ( OTArray * array, FT_Pointer newval ); #define OT_Array_Index(array, type, index) (((type*)((array)->data))[(index)])