]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / filetools.C
index 03add4cfcbee572fcfa4bccf04235ad47fbc79db..746a141da98427050f71f0f14fb5208fda23079a 100644 (file)
@@ -331,9 +331,9 @@ i18nLibFileSearch(string const & dir, string const & name,
 
 string const LibScriptSearch(string const & command)
 {
-       string script = command;
-       string args;
-       split(script, args, ' ');
+       string script;
+       string args = command;
+       split(args, script, ' ');
        script = LibFileSearch("scripts", script);
        if (script.empty())
                return command;