Use appropriate conv. method

These are plain ASCII strings, no need for local8bit conversion.
This commit is contained in:
Juergen Spitzmueller 2017-07-23 09:37:11 +02:00
parent d3b2cb0922
commit 7609221ada

View File

@ -825,7 +825,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
} while (!contains(tmp, "(job aborted")); } while (!contains(tmp, "(job aborted"));
terr.insertError(0, terr.insertError(0,
from_local8bit("Emergency stop"), from_ascii("Emergency stop"),
from_local8bit(errstr), from_local8bit(errstr),
child_name); child_name);
} }
@ -924,7 +924,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
// !pdfTeX error: pdflatex (file feyn10): Font feyn10 at 600 not found // !pdfTeX error: pdflatex (file feyn10): Font feyn10 at 600 not found
retval |= ERRORS; retval |= ERRORS;
terr.insertError(0, terr.insertError(0,
from_local8bit("pdfTeX Error"), from_ascii("pdfTeX Error"),
from_local8bit(token), from_local8bit(token),
child_name); child_name);
} else if (!ignore_missing_glyphs } else if (!ignore_missing_glyphs