mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Fixed a BUG where if in a PATH was something like ;; the scan for the
binary was interupted. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@182 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
457cfb113a
commit
2a3a654917
@ -1,3 +1,9 @@
|
||||
1999-10-08 Jürgen Vigna <jug@sad.it>
|
||||
|
||||
* src/support/filetools.C (FileOpenSearch): Fixed a bug where
|
||||
when in the PATH was something like /usr/bin;;/bin (note: the ;;)
|
||||
it returned without continuing to search the path.
|
||||
|
||||
1999-10-07 Lars Gullik Bjønnes <larsbj@lyx.org>
|
||||
|
||||
* src/insets/insetquotes.C (Draw): Simplified a gread deal. This
|
||||
|
@ -201,7 +201,9 @@ string FileOpenSearch (string const & path, string const & name,
|
||||
real_file = FileSearch(path_element, name, ext);
|
||||
|
||||
if (real_file.empty()) {
|
||||
tmppath = split(tmppath, path_element, ';');
|
||||
do {
|
||||
tmppath = split(tmppath, path_element, ';');
|
||||
} while(!tmppath.empty() && path_element.empty());
|
||||
} else {
|
||||
notfound = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user