mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Squash unnecessary warning message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8630 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b3bed8d879
commit
cd9a2a663c
@ -1,3 +1,8 @@
|
||||
2004-04-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyxrc.C (read): don't try to set the color of none, inherit, ignore
|
||||
thereby squashing an unnecessary warning.
|
||||
|
||||
2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
|
||||
|
@ -786,7 +786,13 @@ int LyXRC::read(LyXLex & lexrc)
|
||||
break;
|
||||
}
|
||||
|
||||
LColor::color col = lcolor.getFromLyXName(lyx_name);
|
||||
LColor::color const col =
|
||||
lcolor.getFromLyXName(lyx_name);
|
||||
if (col == LColor::none ||
|
||||
col == LColor::inherit ||
|
||||
col == LColor::ignore)
|
||||
break;
|
||||
|
||||
if (!lcolor.setColor(col, x11_name)) {
|
||||
lyxerr << "Bad lyxrc set_color for "
|
||||
<< lyx_name << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user