commit 523d284729312376609e8b239b16e434c156da2a
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Fri Nov 9 11:47:51 2018 +0100

    missed this.
---
 src/insets/InsetInfo.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp
index 52d98e3..d6c68ed 100644
--- a/src/insets/InsetInfo.cpp
+++ b/src/insets/InsetInfo.cpp
@@ -157,7 +157,7 @@ set<string> getTexFileList(string const & filename)
 
        // Normalise paths like /foo//bar ==> /foo/bar
        for (auto doc : doclist) {
-               subst(doc, from_ascii("\r"), docstring());
+               doc = subst(doc, from_ascii("\r"), docstring());
                while (contains(doc, from_ascii("//")))
                        doc = subst(doc, from_ascii("//"), from_ascii("/"));
                if (!doc.empty())

Reply via email to