[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/2.3.x] Fix bad error message (bug 11486).
From:       Richard Kimberly Heck <rikiheck () lyx ! org>
Date:       2019-02-26 2:58:54
Message-ID: 20190226025854.666C328012C () lyx ! lyx ! org
[Download RAW message or body]

commit 9374d0edd9422436b50f3659dd74cf1b056c3cab
Author: Richard Kimberly Heck <rikiheck@lyx.org>
Date:   Mon Feb 25 21:56:40 2019 -0500

    Fix bad error message (bug 11486).
    
    (cherry picked from commit 5b959033d2167ffbef7eaf70d561eb23fcde803c)
---
 src/Buffer.cpp |    2 +-
 status.23x     |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 3130c23..354173e 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -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;
diff --git a/status.23x b/status.23x
index 048941c..e21ebf9 100644
--- a/status.23x
+++ b/status.23x
@@ -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
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic