mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
*RichEdit: Speller.cpp ToLower of filename to make it work in POSIX
git-svn-id: svn://ultimatepp.org/upp/trunk@2342 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e0b33067a4
commit
86b56887e2
1 changed files with 2 additions and 2 deletions
|
|
@ -142,9 +142,9 @@ Speller *sGetSpeller(int lang)
|
|||
dir = d;
|
||||
}
|
||||
pp << spell_path << ';' << getenv("LIB") << ';' << getenv("PATH") << ';';
|
||||
String path = GetFileOnPath(LNGAsText(lang) + ".udc", pp);
|
||||
String path = GetFileOnPath(ToLower(LNGAsText(lang)) + ".udc", pp);
|
||||
if(IsNull(path))
|
||||
path = GetFileOnPath(LNGAsText(lang) + ".scd", pp);
|
||||
path = GetFileOnPath(ToLower(LNGAsText(lang)) + ".scd", pp);
|
||||
if(IsNull(path))
|
||||
return false;
|
||||
FileIn in(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue