diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-30 18:59:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-30 18:59:51 +0300 |
commit | fc7978f884fe33690da034a8c557f7c2f3924e8a (patch) | |
tree | ee33a4702ddb9c68eee6206fca7f367a983ce297 | |
parent | ab5dee1d3c99c5df92997b43c8d8b67c3cdd4f3d (diff) |
compilation fix
-rw-r--r-- | libs/hunspell/src/hunspell.c++ | 5 | ||||
-rw-r--r-- | libs/hunspell/src/hunspell.hxx | 1 | ||||
-rw-r--r-- | plugins/SpellChecker/src/stdafx.h | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/libs/hunspell/src/hunspell.c++ b/libs/hunspell/src/hunspell.c++ index 4afafdadc1..779f8ec241 100644 --- a/libs/hunspell/src/hunspell.c++ +++ b/libs/hunspell/src/hunspell.c++ @@ -120,6 +120,7 @@ public: int generate(char*** slst, const char* word, const char* word2); int generate(char*** slst, const char* word, char** desc, int n); const char* get_wordchars() const; + const char* get_try_string() const { return pAMgr->get_try_string(); } const char* get_version() const; int input_conv(const char* word, char* dest, size_t destsize); @@ -2156,6 +2157,10 @@ const char* Hunspell::get_version() const { return m_Impl->get_version(); } +const char* Hunspell::get_try_string() const { + return m_Impl->get_try_string(); +} + int Hunspell::input_conv(const char* word, char* dest, size_t destsize) { return m_Impl->input_conv(word, dest, destsize); } diff --git a/libs/hunspell/src/hunspell.hxx b/libs/hunspell/src/hunspell.hxx index 8640a35ca1..d157078714 100644 --- a/libs/hunspell/src/hunspell.hxx +++ b/libs/hunspell/src/hunspell.hxx @@ -219,6 +219,7 @@ class LIBHUNSPELL_DLL_EXPORTED Hunspell { struct cs_info* get_csconv(); + const char* get_try_string() const; const char* get_version() const; const std::string& get_version_cpp() const; diff --git a/plugins/SpellChecker/src/stdafx.h b/plugins/SpellChecker/src/stdafx.h index de0e4a153f..41beb2c3e3 100644 --- a/plugins/SpellChecker/src/stdafx.h +++ b/plugins/SpellChecker/src/stdafx.h @@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. //#define _CRT_SECURE_NO_WARNINGS
#define OEMRESOURCE
+#include <time.h>
#include <windows.h>
#include <msapi/richedit5.h>
#include <tom.h>
|