diff options
Diffstat (limited to 'contrib/texinfo/info/nodemenu.c')
-rw-r--r-- | contrib/texinfo/info/nodemenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/texinfo/info/nodemenu.c b/contrib/texinfo/info/nodemenu.c index dad513706f87..4de2cfa6a6c0 100644 --- a/contrib/texinfo/info/nodemenu.c +++ b/contrib/texinfo/info/nodemenu.c @@ -1,7 +1,7 @@ /* nodemenu.c -- produce a menu of all visited nodes. - $Id: nodemenu.c,v 1.1 2002/08/25 23:38:38 karl Exp $ + $Id: nodemenu.c,v 1.3 2003/05/13 16:37:54 karl Exp $ - Copyright (C) 1993, 1997, 1998, 2002 Free Software Foundation, Inc. + Copyright (C) 1993, 1997, 1998, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,7 +22,7 @@ #include "info.h" /* Return a line describing the format of a node information line. */ -static char * +static const char * nodemenu_format_info () { return (_("\n\ @@ -101,7 +101,7 @@ format_node_info (node) if (node->filename && *(node->filename)) { len = pad_to (51, line_buffer); - sprintf (line_buffer + len, node->filename); + strcpy (line_buffer + len, node->filename); } return xstrdup (line_buffer); |