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) ...@@ -2437,8 +2437,10 @@ void File::loadDictionary(const char* dict)
} }
catch (...) {} catch (...) {}
{
fs::path dictFile = string("dictionaries/") + dict + ".dic"; fs::path dictFile = string("dictionaries/") + dict + ".dic";
try
{
if (fs::exists(dictFile)) if (fs::exists(dictFile))
{ {
fs::ifstream is(dictFile); fs::ifstream is(dictFile);
......
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