Switch to unified view

a/src/internfile/mh_mail.cpp b/src/internfile/mh_mail.cpp
...
...
181
    bool res = false;
181
    bool res = false;
182
182
183
    if (m_idx == -1) {
183
    if (m_idx == -1) {
184
    m_metaData[cstr_dj_keymt] = cstr_textplain;
184
    m_metaData[cstr_dj_keymt] = cstr_textplain;
185
    res = processMsg(m_bincdoc, 0);
185
    res = processMsg(m_bincdoc, 0);
186
    LOGDEB1(("MimeHandlerMail::next_document: mimetype %s\n",
186
    LOGDEB1(("MimeHandlerMail::next_document: mt %s, att cnt %d\n",
187
        m_metaData[cstr_dj_keymt].c_str()));
187
         m_metaData[cstr_dj_keymt].c_str(), m_attachments.size()));
188
        const string& txt = m_metaData[cstr_dj_keycontent];
188
        const string& txt = m_metaData[cstr_dj_keycontent];
189
        if (m_startoftext < txt.size())
189
        if (m_startoftext < txt.size())
190
            m_metaData[cstr_dj_keyabstract] = 
190
            m_metaData[cstr_dj_keyabstract] = 
191
                truncate_to_word(txt.substr(m_startoftext), 250);
191
                truncate_to_word(txt.substr(m_startoftext), 250);
192
  if (m_attachments.size() > 0) {
193
      m_metaData[cstr_dj_keyanc] = "t";
194
  }
192
    } else {
195
    } else {
193
        m_metaData[cstr_dj_keyabstract].clear();
196
        m_metaData[cstr_dj_keyabstract].clear();
194
    res = processAttach();
197
    res = processAttach();
195
    }
198
    }
196
    m_idx++;
199
    m_idx++;