From 3ddfec9ae0c56827deff42a63b3dfd701ce02539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 30 Sep 2008 06:51:08 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiInclude.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiInclude.cpp b/src/frontends/qt4/GuiInclude.cpp index 5ea4547537..07a1fb8f9f 100644 --- a/src/frontends/qt4/GuiInclude.cpp +++ b/src/frontends/qt4/GuiInclude.cpp @@ -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*");