aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatok <satok@google.com>2012-03-23 20:58:18 +0900
committersatok <satok@google.com>2012-03-23 20:58:18 +0900
commitacb6c5445f7712b7577e7d0e91fd19934a69bc30 (patch)
tree5475387643402f11b2477770283b716450ad0b15
parent350ffc879adb80c7987306304109c67758928aae (diff)
downloadlatinime-acb6c5445f7712b7577e7d0e91fd19934a69bc30.tar.gz
latinime-acb6c5445f7712b7577e7d0e91fd19934a69bc30.tar.xz
latinime-acb6c5445f7712b7577e7d0e91fd19934a69bc30.zip
Fix build breakage
Change-Id: Ic4d3cf6932dcd57c1040c7877ab7c7f48cd6c408
-rw-r--r--native/src/unigram_dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/unigram_dictionary.cpp b/native/src/unigram_dictionary.cpp
index 7ea9713a6..d21413d8b 100644
--- a/native/src/unigram_dictionary.cpp
+++ b/native/src/unigram_dictionary.cpp
@@ -184,7 +184,7 @@ int UnigramDictionary::getSuggestions(ProximityInfo *proximityInfo,
GERMAN_UMLAUT_DIGRAPHS,
sizeof(GERMAN_UMLAUT_DIGRAPHS) / sizeof(GERMAN_UMLAUT_DIGRAPHS[0]));
} else if (REQUIRES_FRENCH_LIGATURES_PROCESSING & flags) {
- int codesBuffer[getCodesBufferSize(codes, codesSize, MAX_PROXIMITY_CHARS)];
+ int codesBuffer[getCodesBufferSize(codes, codesSize)];
int xCoordinatesBuffer[codesSize];
int yCoordinatesBuffer[codesSize];
getWordWithDigraphSuggestionsRec(proximityInfo, xcoordinates, ycoordinates, codesBuffer,