diff --git a/native/src/correction.cpp b/native/src/correction.cpp index 4df1c4efbd2738a5e0f4078e13623b65b60e8d8d..5f11452aeded29ec5e761e85fac8f840adfd5087 100644 --- a/native/src/correction.cpp +++ b/native/src/correction.cpp @@ -641,7 +641,7 @@ inline static int getQuoteCount(const unsigned short* word, const int length) { } inline static bool isUpperCase(unsigned short c) { - return isAsciiUpper(toBaseChar(c)); + return isAsciiUpper(toBaseChar(c)); } ////////////////////// diff --git a/native/src/correction.h b/native/src/correction.h index 398e7e7bfacbec0b0df74c126af0718c6b12d2ee..9559bbf12eb50f4f4df13c3c2ad9159066c7b6cb 100644 --- a/native/src/correction.h +++ b/native/src/correction.h @@ -85,7 +85,7 @@ class Correction { } } - Correction(const int typedLetterMultiplier, const int fullWordMultiplier); + Correction(const int typedLetterMultiplier, const int fullWordMultiplier); void initCorrection( const ProximityInfo *pi, const int inputLength, const int maxWordLength); void initCorrectionState(const int rootPos, const int childCount, const bool traverseAll);