Commit e27908b9 by maarten

preforked server

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@358 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 63fa06d6
......@@ -2437,8 +2437,10 @@ void File::loadDictionary(const char* dict)
}
catch (...) {}
fs::path dictFile = string("dictionaries/") + dict + ".dic";
try
{
fs::path dictFile = string("dictionaries/") + dict + ".dic";
if (fs::exists(dictFile))
{
fs::ifstream is(dictFile);
......@@ -2450,7 +2452,7 @@ void File::loadDictionary(const char* dict)
#if defined(USE_RSRC)
mrsrc::rsrc dictData(dictFile.string());
if (dictData)
{
struct membuf : public streambuf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment