* GuiInclude.cpp:

- prevent assertion (listings parameters can have non-ascii chars)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26632 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-09-30 06:51:08 +00:00
parent abe3a94845
commit 3ddfec9ae0

View File

@ -256,7 +256,7 @@ void GuiInclude::applyView()
if (!label.empty())
par.addParam("label", "{" + label + "}");
string const listparams = par.params();
params_["lstparams"] = from_ascii(listparams);
params_["lstparams"] = from_utf8(listparams);
} else {
if (visiblespaceCB->isChecked())
params_.setCmdName("verbatiminput*");