From c9db30f969ec4cb1dd52dd6a54aa8ab15b1ce37b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 9 Aug 2007 23:21:54 +0200 Subject: spelling fix FS#1220 darcs-hash:20070809212154-7ad00-bde57d95f9b61840f1cdac4d60f89bcd0ae83c4a.gz --- lib/exe/spellcheck.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/exe') diff --git a/lib/exe/spellcheck.php b/lib/exe/spellcheck.php index aa1168136..e4739b60c 100644 --- a/lib/exe/spellcheck.php +++ b/lib/exe/spellcheck.php @@ -104,7 +104,7 @@ function spaceslink($matches){ * * 0 - No spelling mistakes * 1 - Spelling mistakes found - * 2 - An error occured error message follows + * 2 - An error occurred error message follows * * @author Andreas Gohr */ @@ -131,7 +131,7 @@ function spell_check() { // run aspell in terse sgml mode, ignore nbsp as correct word if(!$spell->runAspell($string,$out,$err,array('!','+html','@nbsp'))){ print '2'; //to indicate an error - print "An error occured while trying to run the spellchecker:\n"; + print "An error occurred while trying to run the spellchecker:\n"; print $err; return; } -- cgit v1.2.3