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 // 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

View File

@ -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;