From a8708a5e9ada7ced09c7dbcd1f374cfae15fcdd4 Mon Sep 17 00:00:00 2001 From: Bernhard Roider Date: Thu, 28 Feb 2008 21:06:00 +0000 Subject: [PATCH] fix bug 4583: crash when processing colored box LaTeXFeatures::getPackages() assumes that lcolor.getX11Name(Color_shadedbg) returns a hex color. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23336 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Color.cpp b/src/Color.cpp index a2e79327bd..29302f32e7 100644 --- a/src/Color.cpp +++ b/src/Color.cpp @@ -114,7 +114,7 @@ ColorSet::ColorSet() { Color_commentbg, N_("comment background"), "commentbg", "linen", "commentbg" }, { Color_greyedout, N_("greyedout inset"), "greyedout", "red", "greyedout" }, { Color_greyedoutbg, N_("greyedout inset background"), "greyedoutbg", "linen", "greyedoutbg" }, - { Color_shadedbg, N_("shaded box"), "shaded", "red", "shaded" }, + { Color_shadedbg, N_("shaded box"), "shaded", "#ff0000", "shaded" }, { Color_branchlabel, N_("branch label"), "branchlabel", "#c88000", "branchlabel" }, { Color_footlabel, N_("footnote label"), "footlabel", "#00aaff", "footlabel" }, { Color_indexlabel, N_("index label"), "indexlabel", "green", "indexlabel" },