From 401b50e614e7f80b51011b39676dedc6f1e10f34 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Wed, 28 Feb 2018 02:58:01 +0000 Subject: [PATCH] spelling: compare --- src/Mayaqua/Memory.c | 4 ++-- src/Mayaqua/Memory.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mayaqua/Memory.c b/src/Mayaqua/Memory.c index 92b7efa5..fc6d195a 100644 --- a/src/Mayaqua/Memory.c +++ b/src/Mayaqua/Memory.c @@ -778,7 +778,7 @@ void AddCandidate(LIST *o, wchar_t *str, UINT num_max) } // Comparison of candidates -int ComapreCandidate(void *p1, void *p2) +int CompareCandidate(void *p1, void *p2) { CANDIDATE *c1, *c2; if (p1 == NULL || p2 == NULL) @@ -828,7 +828,7 @@ void FreeCandidateList(LIST *o) // Creating a new candidate list LIST *NewCandidateList() { - return NewList(ComapreCandidate); + return NewList(CompareCandidate); } // Fill a range of memory diff --git a/src/Mayaqua/Memory.h b/src/Mayaqua/Memory.h index 28babd8b..0db4f557 100644 --- a/src/Mayaqua/Memory.h +++ b/src/Mayaqua/Memory.h @@ -265,7 +265,7 @@ UINT PRandInt(PRAND *p); LIST *NewCandidateList(); void FreeCandidateList(LIST *o); -int ComapreCandidate(void *p1, void *p2); +int CompareCandidate(void *p1, void *p2); void AddCandidate(LIST *o, wchar_t *str, UINT num_max); BUF *CandidateToBuf(LIST *o); LIST *BufToCandidate(BUF *b);