From 7609221ada53ea172245318fac6eba770bd3e99c Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 23 Jul 2017 09:37:11 +0200 Subject: [PATCH] Use appropriate conv. method These are plain ASCII strings, no need for local8bit conversion. --- src/LaTeX.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index cfc95bb51e..b58bad6918 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -825,7 +825,7 @@ int LaTeX::scanLogFile(TeXErrors & terr) } while (!contains(tmp, "(job aborted")); terr.insertError(0, - from_local8bit("Emergency stop"), + from_ascii("Emergency stop"), from_local8bit(errstr), child_name); } @@ -924,7 +924,7 @@ int LaTeX::scanLogFile(TeXErrors & terr) // !pdfTeX error: pdflatex (file feyn10): Font feyn10 at 600 not found retval |= ERRORS; terr.insertError(0, - from_local8bit("pdfTeX Error"), + from_ascii("pdfTeX Error"), from_local8bit(token), child_name); } else if (!ignore_missing_glyphs