]> git.lyx.org Git - features.git/blobdiff - src/LaTeX.C
remove some unneeded version of functions from lstrings,
[features.git] / src / LaTeX.C
index b1817790ea804cc5ebe76b4024d1f224577913ee..cf2f884fe9d2d0190dc2986f0a626853a2bc033c 100644 (file)
@@ -430,7 +430,7 @@ void LaTeX::scanAuxFile(string const & file, Aux_Info & aux_info)
        regex reg4("\\\\@input\\{([^}]+)\\}");
 
        while (getline(ifs, token)) {
-               token = strip(token, '\r');
+               token = strip(token, "\r");
                smatch sub;
                if (regex_match(token, sub, reg1)) {
                        string data = sub[1];
@@ -679,7 +679,7 @@ void LaTeX::deplog(DepTable & head)
                string foundfile;
                string token;
                getline(ifs, token);
-               token = strip(token, '\r');
+               token = strip(token, "\r");
                if (token.empty()) continue;
 
                smatch sub;