revert "." -> '.' to make it compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5726 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-11-27 11:49:06 +00:00
parent 53274e31ec
commit 52cbca1675

View File

@ -213,7 +213,7 @@ vector<string> const DirList(string const & dir, string const & ext)
// This is a non-error checking C/system implementation
string extension(ext);
if (!extension.empty() && extension[0] != '.')
extension.insert(0, 1, '.');
extension.insert(0, 1, ".");
vector<string> dirlist;
DIR * dirp = ::opendir(dir.c_str());
if (!dirp) {