mirror of https://github.com/MidnightCommander/mc
* man2hlp.c: Change default from the English string for TOPICS,
to no heading.
This commit is contained in:
parent
56421cc716
commit
488f4c3e44
|
@ -1,5 +1,8 @@
|
|||
2002-08-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* man2hlp.c: Change default from the English string for TOPICS,
|
||||
to no heading.
|
||||
|
||||
* man2hlp.c (handle_command): Remove quotes from TOPIC.
|
||||
|
||||
* key.c (get_event): Check gpm_fd before using it in FD_SET. If
|
||||
|
|
|
@ -41,7 +41,7 @@ static int node = 0; /* Flag: This line is an original ".SH" */
|
|||
static const char *c_out; /* Output filename */
|
||||
static FILE *f_out; /* Output file */
|
||||
|
||||
static char *Topics = "Topics:";
|
||||
static char *Topics = NULL;
|
||||
|
||||
static struct node {
|
||||
char *node;
|
||||
|
@ -554,7 +554,10 @@ main (int argc, char **argv)
|
|||
}
|
||||
|
||||
cont_start = ftell (f_out);
|
||||
fprintf (f_out, "\004[Contents]\n%s\n\n", Topics);
|
||||
if (Topics)
|
||||
fprintf (f_out, "\004[Contents]\n%s\n\n", Topics);
|
||||
else
|
||||
fprintf (f_out, "\004[Contents]\n");
|
||||
|
||||
for (cnode = &nodes; cnode && cnode->node;) {
|
||||
char *node = cnode->node;
|
||||
|
|
Loading…
Reference in New Issue