mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 1322666 - Change MAXWORDLEN to 100, matching the previous default from Hunspell 1.3. r=masayuki
This commit is contained in:
parent
9784365b21
commit
0d5d58913a
@ -83,7 +83,7 @@
|
||||
|
||||
#define MAXSUGGESTION 15
|
||||
#define MAXSHARPS 5
|
||||
#define MAXWORDLEN 176
|
||||
#define MAXWORDLEN 100
|
||||
|
||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||
# define H_DEPRECATED __attribute__((__deprecated__))
|
||||
|
24
extensions/spellcheck/hunspell/src/patches/1322666
Normal file
24
extensions/spellcheck/hunspell/src/patches/1322666
Normal file
@ -0,0 +1,24 @@
|
||||
Bug 1322666 - Change MAXWORDLEN to 100
|
||||
|
||||
diff --git a/extensions/spellcheck/hunspell/src/hunspell.hxx b/extensions/spellcheck/hunspell/src/hunspell.hxx
|
||||
--- a/extensions/spellcheck/hunspell/src/hunspell.hxx
|
||||
+++ b/extensions/spellcheck/hunspell/src/hunspell.hxx
|
||||
@@ -78,17 +78,17 @@
|
||||
#include "atypes.hxx"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#define SPELL_XML "<?xml?>"
|
||||
|
||||
#define MAXSUGGESTION 15
|
||||
#define MAXSHARPS 5
|
||||
-#define MAXWORDLEN 176
|
||||
+#define MAXWORDLEN 100
|
||||
|
||||
#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||
# define H_DEPRECATED __attribute__((__deprecated__))
|
||||
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
|
||||
# define H_DEPRECATED __declspec(deprecated)
|
||||
#else
|
||||
# define H_DEPRECATED
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user