summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/phonet.hxx
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2017-12-03 15:00:42 +0300
committerKirill Volinsky <mataes2007@gmail.com>2017-12-03 15:01:25 +0300
commit97e2d186da4024c7ac62f7549f3243bd15204118 (patch)
treea0fdb451333c952b3eb773094380d88d3464ac30 /libs/hunspell/src/phonet.hxx
parentd1f75ef5d26e7071fd1f6071e6c9a306fd19c33d (diff)
Hunspell: lib updated to 1.6.2
Diffstat (limited to 'libs/hunspell/src/phonet.hxx')
-rw-r--r--libs/hunspell/src/phonet.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/hunspell/src/phonet.hxx b/libs/hunspell/src/phonet.hxx
index eb9fd0c628..2d58b3ba1b 100644
--- a/libs/hunspell/src/phonet.hxx
+++ b/libs/hunspell/src/phonet.hxx
@@ -27,8 +27,8 @@
Porting from Aspell to Hunspell using C-like structs
*/
-#ifndef __PHONETHXX__
-#define __PHONETHXX__
+#ifndef PHONET_HXX_
+#define PHONET_HXX_
#define HASHSIZE 256
#define MAXPHONETLEN 256
@@ -38,9 +38,7 @@
struct phonetable {
char utf8;
- cs_info* lang;
- int num;
- char** rules;
+ std::vector<std::string> rules;
int hash[HASHSIZE];
};