texinfo-commits
[Top][All Lists]
Advanced

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

[5890] pass arguments to text_buffer_printf as intended


From: Gavin D. Smith
Subject: [5890] pass arguments to text_buffer_printf as intended
Date: Fri, 24 Oct 2014 16:33:31 +0000

Revision: 5890
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5890
Author:   gavin
Date:     2014-10-24 16:33:30 +0000 (Fri, 24 Oct 2014)
Log Message:
-----------
pass arguments to text_buffer_printf as intended

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2014-10-24 16:19:30 UTC (rev 5889)
+++ trunk/ChangeLog     2014-10-24 16:33:30 UTC (rev 5890)
@@ -9,6 +9,9 @@
        * info/info-utils.c (forward_to_info_syntax): Check for syntax 
        case-insensitively.
 
+       * info/indices.c (info_virtual_index): Pass arguments to 
+       text_buffer_printf as intended.
+
 2014-10-22  Gavin Smith  <address@hidden>
 
        * info/info-utils.c (forward_to_info_syntax): New function.

Modified: trunk/info/indices.c
===================================================================
--- trunk/info/indices.c        2014-10-24 16:19:30 UTC (rev 5889)
+++ trunk/info/indices.c        2014-10-24 16:33:30 UTC (rev 5890)
@@ -811,11 +811,10 @@
                      "File: %s,  Node: Index for '%s'\n\n"
                      "Virtual Index\n"
                      "*************\n\n"
-                      "Index entries that match '%s':\n");
-  text_buffer_add_string (&text, "\0\b[index\0\b]", 11);
-  text_buffer_printf (&text,
-                     "\n* Menu:\n\n",
+                      "Index entries that match '%s':\n",
                       fb->filename, index_search, index_search);
+  text_buffer_add_string (&text, "\0\b[index\0\b]", 11);
+  text_buffer_printf (&text, "\n* Menu:\n\n");
 
   cnt = 0;
   for (i = 0; index_index[i]; i++)




reply via email to

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