*** empty log message ***
This commit is contained in:
parent
ee7416bee2
commit
4c128482bd
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: advsearch_w.cpp,v 1.18 2007-08-31 09:04:23 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: advsearch_w.cpp,v 1.19 2008-05-20 10:08:55 dockes Exp $ (C) 2005 J.F.Dockes";
|
||||
#endif
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -48,6 +48,7 @@ static char rcsid[] = "@(#$Id: advsearch_w.cpp,v 1.18 2007-08-31 09:04:23 dockes
|
||||
using std::list;
|
||||
using std::string;
|
||||
using std::map;
|
||||
using std::unique;
|
||||
#endif /* NO_NAMESPACES */
|
||||
|
||||
#include "recoll.h"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.131 2008-02-19 07:41:26 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.132 2008-05-20 10:09:54 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
#endif
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -983,7 +983,7 @@ bool Db::add(const string &fn, const Doc &idoc, const struct stat *stp)
|
||||
"\n\r");
|
||||
}
|
||||
if (doc.meta["title"].empty())
|
||||
doc.meta["title"] = doc.utf8fn, "\n\r";
|
||||
doc.meta["title"] = doc.utf8fn;
|
||||
doc.meta["title"] =
|
||||
neutchars(truncate_to_word(doc.meta["title"], 150), "\n\r");
|
||||
doc.meta["author"] =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user