Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 355178 - Raise the maximum spell checked word length to 130 lette…
Browse files Browse the repository at this point in the history
…rs; r=smaug

--HG--
extra : rebase_source : e2ac56d2e1729124ccf2df21dc97c30903e2164c
  • Loading branch information
ehsan committed Apr 18, 2011
1 parent 1265f61 commit ebd2b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/spellcheck/src/mozSpellChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
#include "nsICategoryManager.h"
#include "nsISupportsPrimitives.h"

#define UNREASONABLE_WORD_LENGTH 64
// The number 130 more or less comes out of thin air.
// See https://bugzilla.mozilla.org/show_bug.cgi?id=355178#c78 for a pseudo-rationale.
#define UNREASONABLE_WORD_LENGTH 130

#define DEFAULT_SPELL_CHECKER "@mozilla.org/spellchecker/engine;1"

Expand Down

0 comments on commit ebd2b3e

Please sign in to comment.