[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5511] no footnotes for *
From: |
Gavin D. Smith |
Subject: |
[5511] no footnotes for * |
Date: |
Fri, 02 May 2014 13:23:20 +0000 |
Revision: 5511
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5511
Author: gavin
Date: 2014-05-02 13:23:20 +0000 (Fri, 02 May 2014)
Log Message:
-----------
no footnotes for *
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/footnotes.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-05-02 13:14:30 UTC (rev 5510)
+++ trunk/ChangeLog 2014-05-02 13:23:20 UTC (rev 5511)
@@ -1,5 +1,10 @@
2014-05-02 Gavin Smith <address@hidden>
+ * info/footnotes.c (info_get_or_remove_footnotes): Don't
+ display footnotes for "*" node.
+
+2014-05-02 Gavin Smith <address@hidden>
+
* info/infodoc.c (create_internal_info_help_node): Don't print
blank line at end of help window. This could result in scrolling
too far down when paging down to the bottom.
Modified: trunk/info/footnotes.c
===================================================================
--- trunk/info/footnotes.c 2014-05-02 13:14:30 UTC (rev 5510)
+++ trunk/info/footnotes.c 2014-05-02 13:23:20 UTC (rev 5511)
@@ -192,7 +192,7 @@
info_get_or_remove_footnotes (WINDOW *window)
{
WINDOW *fn_win;
- NODE *new_footnotes;
+ NODE *new_footnotes = 0;
fn_win = find_footnotes_window ();
@@ -200,8 +200,10 @@
if (fn_win == window)
return FN_FOUND;
- /* Try to find footnotes for this window's node. */
- new_footnotes = make_footnotes_node (window->node);
+ /* Don't display footnotes for the "*" node (entire contents of file). */
+ if (strcmp ("*", window->node->nodename))
+ /* Try to find footnotes for this window's node. */
+ new_footnotes = make_footnotes_node (window->node);
/* If there was a window showing footnotes, and there are no footnotes
for the current window, delete the old footnote window. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5511] no footnotes for *,
Gavin D. Smith <=