Show no-spellchecker-found dialog only if NETSCAPE_COMMERCIAL
git-svn-id: svn://10.0.0.236/trunk@11810 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -336,10 +336,12 @@ XFE_SpellHandler::initSpellChecker()
|
||||
|
||||
if (m_spellCheckerLib == NULL)
|
||||
{
|
||||
#ifdef DEBUG_akkana
|
||||
printf("Couldn't find library NSSpellChecker\n");
|
||||
#ifdef DEBUG
|
||||
printf("Couldn't find library %s\n", libname);
|
||||
#endif
|
||||
#ifdef NETSCAPE_COMMERCIAL
|
||||
FE_Alert(m_context, XP_GetString(NO_SPELL_SHLIB_FOUND));
|
||||
#endif
|
||||
m_active = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user