From cec9c25bd79fd6567fa9979ec4130018ec26a1be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 18 Jul 2002 10:09:58 +0000 Subject: [PATCH] bug fix (missing assingment of split result) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4701 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/ChangeLog | 7 ++++++- src/support/filetools.C | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 640e9b1150..360d90e932 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,8 @@ + +2002-07-18 André Pönitz + + * filetools.C (LibScriptSearch): bug fix + 2002-07-17 Jean-Marc Lasgouttes * filetools.C (LyXReadLink): add bool 'resolve' to return link @@ -16,7 +21,7 @@ 2002-06-20 Herbert Voss - * filetools.[C]: (readExtFromContents) add support for + * filetools.[C] (readExtFromContents): add support for (x)fig format images 2002-06-26 André Pönitz diff --git a/src/support/filetools.C b/src/support/filetools.C index d45d317612..11057b8ddd 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -337,7 +337,7 @@ string const LibScriptSearch(string const & command) { string script; string args = command; - split(args, script, ' '); + args = split(args, script, ' '); script = LibFileSearch("scripts", script); if (script.empty()) return command; -- 2.39.2