mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
next try
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5727 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
52cbca1675
commit
2d6e8ee8c4
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user