From: Richard Kimberly Heck Date: Tue, 26 Feb 2019 02:56:40 +0000 (-0500) Subject: Fix bad error message (bug 11486). X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2546 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5b959033d2167ffbef7eaf70d561eb23fcde803c;p=features.git Fix bad error message (bug 11486). --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index dc35734f6c..a7e5d5ec21 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4529,7 +4529,7 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir bformat(_("The directory path to the document\n%1$s\n" "contains spaces, but your TeX installation does " "not allow them. You should save the file to a directory " - "whose name does not contain spaces."), from_ascii(filePath()))); + "whose name does not contain spaces."), from_utf8(filePath()))); return ExportTexPathHasSpaces; } else { runparams.nice = false;