From 86b56887e25300f4291250a45cb010768e301c35 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 26 Apr 2010 08:31:23 +0000 Subject: [PATCH] *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 --- uppsrc/RichEdit/Speller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uppsrc/RichEdit/Speller.cpp b/uppsrc/RichEdit/Speller.cpp index 2c7d5c0b2..e2c834dba 100644 --- a/uppsrc/RichEdit/Speller.cpp +++ b/uppsrc/RichEdit/Speller.cpp @@ -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);