Run-time fix; use compare_ascii_no_case one more time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8687 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-04-21 11:20:23 +00:00
parent 3bcf40e96d
commit affa34ce2d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-04-21 Angus Leeming <leeming@lyx.org>
* ToolbarBackend.C (readToolbars): use compare_ascii_no_case
one more time.
2004-04-21 John Levon <levon@movementarian.org>
* ToolbarBackend.h:

View File

@ -155,7 +155,7 @@ void ToolbarBackend::readToolbars(LyXLex & lex)
Toolbars::iterator tcit = toolbars.begin();
Toolbars::iterator tend = toolbars.end();
for (; tcit != tend; ++tcit) {
if (tcit->name == name)
if (compare_ascii_no_case(name, tcit->name) == 0)
break;
}