From acb6c5445f7712b7577e7d0e91fd19934a69bc30 Mon Sep 17 00:00:00 2001 From: satok Date: Fri, 23 Mar 2012 20:58:18 +0900 Subject: [PATCH] Fix build breakage Change-Id: Ic4d3cf6932dcd57c1040c7877ab7c7f48cd6c408 --- native/src/unigram_dictionary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,