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:
Rodrigo Braz Monteiro 2008-01-11 00:38:47 +00:00
parent 1ab15ad85f
commit 9e762b504b
2 changed files with 3 additions and 3 deletions

View file

@ -153,9 +153,9 @@
// Hunspell
#ifdef WITH_HUNSPELL
#ifdef __WXDEBUG__
#pragma comment(lib,"hunspelld.lib")
#pragma comment(lib,"libhunspell_d.lib")
#else
#pragma comment(lib,"hunspell.lib")
#pragma comment(lib,"libhunspell.lib")
#endif
#endif

View file

@ -131,7 +131,7 @@ void HunspellSpellChecker::AddWord(wxString word) {
if (!hunspell) return;
// Add to currently loaded file
hunspell->put_word(word.mb_str(*conv));
hunspell->add(word.mb_str(*conv));
// Load dictionary
wxArrayString dic;