This commit is contained in:
Jean-Francois Dockes 2013-02-27 14:35:39 +01:00
parent 0581961c37
commit 4e1fd6c854

View File

@ -94,10 +94,10 @@ bool DocSequenceDb::getAbstract(Rcl::Doc &doc, vector<Rcl::Snippet>& vpabs)
}
// If the list was probably truncated, indicate it.
if (ret | Rcl::ABSRES_TRUNC) {
if (ret & Rcl::ABSRES_TRUNC) {
vpabs.push_back(Rcl::Snippet(-1, cstr_mre));
}
if (ret | Rcl::ABSRES_TERMMISS) {
if (ret & Rcl::ABSRES_TERMMISS) {
vpabs.insert(vpabs.begin(),
Rcl::Snippet(-1, "(Words missing in snippets)"));
}