bug fix (missing assingment of split result)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4701 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-07-18 10:09:58 +00:00
parent 31d1ab96b6
commit cec9c25bd7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-18 André Pönitz <poenitz@gmx.net>
* filetools.C (LibScriptSearch): bug fix
2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* filetools.C (LyXReadLink): add bool 'resolve' to return link * filetools.C (LyXReadLink): add bool 'resolve' to return link
@ -16,7 +21,7 @@
2002-06-20 Herbert Voss <voss@perce.de> 2002-06-20 Herbert Voss <voss@perce.de>
* filetools.[C]: (readExtFromContents) add support for * filetools.[C] (readExtFromContents): add support for
(x)fig format images (x)fig format images
2002-06-26 André Pönitz <poenitz@gmx.net> 2002-06-26 André Pönitz <poenitz@gmx.net>

View File

@ -337,7 +337,7 @@ string const LibScriptSearch(string const & command)
{ {
string script; string script;
string args = command; string args = command;
split(args, script, ' '); args = split(args, script, ' ');
script = LibFileSearch("scripts", script); script = LibFileSearch("scripts", script);
if (script.empty()) if (script.empty())
return command; return command;