Index: src/hunspell/hunspell.cxx |
diff --git a/src/hunspell/hunspell.cxx b/src/hunspell/hunspell.cxx |
index b3f37394a7b3ce64541851afd0cb9ccdea1dc61a..0d606e083f5f558aa77130f1fe2b5e9f0643c2b5 100644 |
--- a/src/hunspell/hunspell.cxx |
+++ b/src/hunspell/hunspell.cxx |
@@ -137,9 +137,7 @@ int Hunspell::cleanword2(char * dest, const char * src, |
if (utf8) { |
*nc = u8_u16(dest_utf, MAXWORDLEN, dest); |
// don't check too long words |
- // TODO(rouslan): Remove the interim change below when this patch lands: |
- // http://sf.net/tracker/?func=detail&aid=3595024&group_id=143754&atid=756395. |
- if (*nc >= MAXWORDLEN - 1) return 0; |
+ if (*nc >= MAXWORDLEN) return 0; |
if (*nc == -1) { // big Unicode character (non BMP area) |
*pcaptype = NOCAP; |
return nl; |