summaryrefslogtreecommitdiff
path: root/src/myspell/htypes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/myspell/htypes.hxx')
-rw-r--r--src/myspell/htypes.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myspell/htypes.hxx b/src/myspell/htypes.hxx
index 80647f9..5b6c909 100644
--- a/src/myspell/htypes.hxx
+++ b/src/myspell/htypes.hxx
@@ -12,7 +12,7 @@
#define H_OPT_PHON (1 << 2)
// see also csutil.hxx
-#define HENTRY_WORD(h) &(h->word)
+#define HENTRY_WORD(h) &(h->word[0])
// approx. number of user defined words
#define USERWORD 1000
@@ -26,7 +26,7 @@ struct hentry
struct hentry * next; // next word with same hash code
struct hentry * next_homonym; // next homonym word (with same hash code)
char var; // variable fields (only for special pronounciation yet)
- char word; // variable-length word (8-bit or UTF-8 encoding)
+ char word[1]; // variable-length word (8-bit or UTF-8 encoding)
};
#endif