Switch to unified view

a/src/internfile/internfile.cpp b/src/internfile/internfile.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.36 2007-10-27 08:40:07 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.37 2007-11-16 14:28:52 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
143
    LOGDEB(("internfile: (no mime) [%s]\n", m_fn.c_str()));
143
    LOGDEB(("internfile: (no mime) [%s]\n", m_fn.c_str()));
144
    }
144
    }
145
145
146
    // Look for appropriate handler (might still return empty)
146
    // Look for appropriate handler (might still return empty)
147
    m_mimetype = l_mime;
147
    m_mimetype = l_mime;
148
    Dijon::Filter *df = getMimeHandler(l_mime, m_cfg);
148
    Dijon::Filter *df = getMimeHandler(l_mime, m_cfg, !m_forPreview);
149
149
150
    if (!df) {
150
    if (!df) {
151
    // No handler for this type, for now :( if indexallfilenames
151
    // No handler for this type, for now :( if indexallfilenames
152
    // is set in the config, this normally wont happen (we get mh_unknown)
152
    // is set in the config, this normally wont happen (we get mh_unknown)
153
    LOGDEB(("FileInterner:: no handler for %s\n", l_mime.c_str()));
153
    LOGDEB(("FileInterner:: no handler for %s\n", l_mime.c_str()));