]> git.lyx.org Git - lyx.git/commitdiff
Fix bad error message (bug 11486).
authorRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 26 Feb 2019 02:56:40 +0000 (21:56 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Tue, 26 Feb 2019 02:56:40 +0000 (21:56 -0500)
src/Buffer.cpp

index dc35734f6c466d1d600b2328b02fc702507f972f..a7e5d5ec215d02f6ae9689ec327878898915ca1f 100644 (file)
@@ -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;