]> git.lyx.org Git - features.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 03:04:19 +0000 (22:04 -0500)
(cherry picked from commit 5b959033d2167ffbef7eaf70d561eb23fcde803c)

src/Buffer.cpp
status.23x

index 3130c2357f671f3c697cd425c52c0604c3f2834f..354173e8cb2c04e64a19c388cf85ccb99af212ca 100644 (file)
@@ -4532,7 +4532,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;
index 048941c051557c386d5b20f722745e1f7144e987..e21ebf9836174563ac09ade05348bdb91a4bdcec 100644 (file)
@@ -49,6 +49,8 @@ What's new
 - The function textstyle-update now only changes explicitly stated font
   attributes (bug 11111).
 
+- Fix bad error message (bug 11486).
+
 
 * DOCUMENTATION AND LOCALIZATION