Permalink
Browse files

Few minor bug fixes, so en_us can be indentified.

  • Loading branch information...
1 parent 8915662 commit cf0b27037be0c9ffa2874097f6dfbf739037a1a9 julmis committed Sep 8, 2004
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/speller/server-scripts/spellchecker.php
@@ -19,7 +19,7 @@
exit;
}
-$aspell_opts = "-a --lang=$lang --encoding=utf-8";
+$aspell_opts = "-a -H --lang=$lang --encoding=utf-8";
$tempfiledir = "./";
$input_separator = "A";
@@ -45,7 +45,7 @@ function check_language($cmd) {
}
@pclose($handle);
- $dicts = explode(chr(10), $output);
+ $dicts = explode(chr(10), strtolower($output));
if(is_array($dicts)) {
if(in_array($current_lang,$dicts)) {

0 comments on commit cf0b270

Please sign in to comment.