aspell: test to determine if error was caused by missing dictionary was wrong
This commit is contained in:
parent
69974a6085
commit
fbadf681b0
@ -321,7 +321,7 @@ bool Aspell::buildDict(Rcl::Db &db, string &reason)
|
||||
args.push_back("dicts");
|
||||
string dicts;
|
||||
bool hasdict = false;
|
||||
if (!cmd.doexec(m_data->m_exec, args, 0, &dicts)) {
|
||||
if (cmd.doexec(m_data->m_exec, args, 0, &dicts)) {
|
||||
vector<string> vdicts;
|
||||
stringToTokens(dicts, vdicts, "\n\r\t ");
|
||||
if (find(vdicts.begin(), vdicts.end(), m_lang) != vdicts.end()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user