]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458)
[lyx.git] / src / Buffer.cpp
index 4bff27b97be0c3d108e926e305238af75d0b4802..6bd4ab12b0a1d85ffcadb4b887276e1046a4b502 100644 (file)
@@ -673,10 +673,10 @@ int Buffer::readHeader(Lexer & lex)
        params().isfontcolor = false;
        params().notefontcolor = lyx::rgbFromHexName("#cccccc");
        lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
-               from_utf8("greyedouttext #cccccc")));
+               from_ascii("greyedouttext #cccccc")));
        params().boxbgcolor = lyx::rgbFromHexName("#ff0000");
        lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
-               from_utf8("shaded #ff0000")));
+               from_ascii("shaded #ff0000")));
 
        for (int i = 0; i < 4; ++i) {
                params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
@@ -3507,7 +3507,7 @@ bool Buffer::readFileHelper(FileName const & s)
                        else
                                str = _("Document was NOT successfully recovered.");
                        str += "\n\n" + bformat(_("Remove emergency file now?\n(%1$s)"),
-                                               from_utf8(e.absFilename()));
+                                               makeDisplayPath(e.absFilename()));
 
                        if (!Alert::prompt(_("Delete emergency file?"), str, 1, 1,
                                        _("&Remove"), _("&Keep it"))) {