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:
akkana%netscape.com
1998-10-02 22:15:23 +00:00
parent 4aa3b4b531
commit e64f9c8ba0

View File

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