git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-11-27 11:56:50 +00:00
parent 52cbca1675
commit 2d6e8ee8c4

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