summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-08-09 23:21:54 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-08-09 23:21:54 +0200
commitc9db30f969ec4cb1dd52dd6a54aa8ab15b1ce37b (patch)
tree40aaa4b5e23da6fbea54aa7552ea24f3c7f2d67b /lib
parent2340e8a640b26d748f1e94af2e8a54aeeab3ab9a (diff)
downloadrpg-c9db30f969ec4cb1dd52dd6a54aa8ab15b1ce37b.tar.gz
rpg-c9db30f969ec4cb1dd52dd6a54aa8ab15b1ce37b.tar.bz2
spelling fix FS#1220
darcs-hash:20070809212154-7ad00-bde57d95f9b61840f1cdac4d60f89bcd0ae83c4a.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/exe/spellcheck.php4
1 files changed, 2 insertions, 2 deletions
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 <andi@splitbrain.org>
*/
@@ -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;
}