]> git.lyx.org Git - features.git/commitdiff
Run-time fix; use compare_ascii_no_case one more time.
authorAngus Leeming <leeming@lyx.org>
Wed, 21 Apr 2004 11:20:23 +0000 (11:20 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 21 Apr 2004 11:20:23 +0000 (11:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8687 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/ToolbarBackend.C

index 48cfe8b025ae1c4c7e4b5c246b7ed29ea90d26d5..5ee99c43619f8ad4bf4732ff931d85e5213755a9 100644 (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:
index 41338d58c2bd537ced81e4cc76a078626f6d7e16..647586b1f77724930a47788b05fe5e6280364be5 100644 (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;
                }