texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[5968] case-insensitive check for "index" in name of node


From: Gavin D. Smith
Subject: [5968] case-insensitive check for "index" in name of node
Date: Tue, 16 Dec 2014 19:06:32 +0000

Revision: 5968
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5968
Author:   gavin
Date:     2014-12-16 19:06:31 +0000 (Tue, 16 Dec 2014)
Log Message:
-----------
case-insensitive check for "index" in name of node

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/indices.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-12-16 00:43:23 UTC (rev 5967)
+++ trunk/ChangeLog     2014-12-16 19:06:31 UTC (rev 5968)
@@ -1,3 +1,8 @@
+2014-12-16  Gavin Smith  <address@hidden>
+
+       * info/indices.c (info_indices_of_file_buffer): Case insensitive 
+       search for nodes with "index" in their names.
+
 2014-12-14  Karl Berry  <address@hidden>
 
        * doc/texinfo.texi (Info Format *): small rewordings.

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2014-12-16 00:43:23 UTC (rev 5967)
+++ trunk/info/indices.c        2014-12-16 19:06:31 UTC (rev 5968)
@@ -143,8 +143,7 @@
 
       for (i = 0; (tag = file_buffer->tags[i]); i++)
         {
-          if ((strstr (tag->nodename, "Index")
-               || strstr (tag->nodename, "index"))
+          if (strcasestr (tag->nodename, "Index")
               && tag->nodelen != 0) /* Not an anchor. */
             {
               NODE *node;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]