mirror of https://github.com/odrling/Aegisub
Changed lib name for hunspell to semi-conform to the official solution (debug lib needs _d appended).
Originally committed to SVN as r1677.
This commit is contained in:
parent
1ab15ad85f
commit
9e762b504b
|
@ -153,9 +153,9 @@
|
||||||
// Hunspell
|
// Hunspell
|
||||||
#ifdef WITH_HUNSPELL
|
#ifdef WITH_HUNSPELL
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
#pragma comment(lib,"hunspelld.lib")
|
#pragma comment(lib,"libhunspell_d.lib")
|
||||||
#else
|
#else
|
||||||
#pragma comment(lib,"hunspell.lib")
|
#pragma comment(lib,"libhunspell.lib")
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ void HunspellSpellChecker::AddWord(wxString word) {
|
||||||
if (!hunspell) return;
|
if (!hunspell) return;
|
||||||
|
|
||||||
// Add to currently loaded file
|
// Add to currently loaded file
|
||||||
hunspell->put_word(word.mb_str(*conv));
|
hunspell->add(word.mb_str(*conv));
|
||||||
|
|
||||||
// Load dictionary
|
// Load dictionary
|
||||||
wxArrayString dic;
|
wxArrayString dic;
|
||||||
|
|
Loading…
Reference in New Issue