As Andr� says, what a a waste of time, but at least it's now consistent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5732 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-11-27 13:46:14 +00:00
parent 64715661d6
commit c56c446157
2 changed files with 3 additions and 5 deletions

View File

@ -534,7 +534,7 @@ string const LyXAction::getActionName(int action) const
{
FuncRequest ev = retrieveActionArg(action);
if (!ev.argument.empty())
ev.argument.insert(0u, 1, ' ');
ev.argument.insert(string::size_type(0), 1, ' ');
info_map::const_iterator const it = lyx_info_map.find(ev.action);

View File

@ -212,10 +212,8 @@ 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] != '.') {
string::size_type const pos = 0;
extension.insert(pos, 1, '.');
}
if (!extension.empty() && extension[0] != '.')
extension.insert(string::size_type(0), 1, '.');
vector<string> dirlist;
DIR * dirp = ::opendir(dir.c_str());
if (!dirp) {