Switch to unified view

a/src/common/rclconfig.cpp b/src/common/rclconfig.cpp
...
...
441
//
441
//
442
// This unfortunately means that searches by file names and mime type
442
// This unfortunately means that searches by file names and mime type
443
// filtering don't work well together.
443
// filtering don't work well together.
444
vector<string> RclConfig::getAllMimeTypes() const
444
vector<string> RclConfig::getAllMimeTypes() const
445
{
445
{
446
    vector<string> lst;
446
    return mimeconf ? mimeconf->getNames("index") : vector<string>();
447
    if (mimeconf == 0)
448
  return lst;
449
    lst = mimeconf->getNames("index");
450
    return lst;
451
}
447
}
452
448
453
// Things for suffix comparison. We define a string class and string 
449
// Things for suffix comparison. We define a string class and string 
454
// comparison with suffix-only sensitivity
450
// comparison with suffix-only sensitivity
455
class SfString {
451
class SfString {