mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
go from 'experienced user' right to 'hacker' level...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4492 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4bc59f2101
commit
2b2b6f6162
@ -1,3 +1,8 @@
|
||||
|
||||
2002-06-26 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* filetools.[Ch]: small whitespace, more compact 'return' statement
|
||||
|
||||
2002-06-19 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* lyxalgo.h: add eliminate_duplicates
|
||||
|
@ -131,10 +131,7 @@ string const QuoteName(string const & name)
|
||||
bool IsFileReadable(string const & path)
|
||||
{
|
||||
FileInfo file(path);
|
||||
if (file.isOK() && file.isRegular() && file.readable())
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
return file.isOK() && file.isRegular() && file.readable();
|
||||
}
|
||||
|
||||
|
||||
@ -178,7 +175,8 @@ bool IsDirWriteable (string const & path)
|
||||
string const FileOpenSearch(string const & path, string const & name,
|
||||
string const & ext)
|
||||
{
|
||||
string real_file, path_element;
|
||||
string real_file;
|
||||
string path_element;
|
||||
bool notfound = true;
|
||||
string tmppath = split(path, path_element, ';');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user