* man2hlp.c: Change default from the English string for TOPICS,
to no heading.
Этот коммит содержится в:
родитель
56421cc716
Коммит
488f4c3e44
@ -1,5 +1,8 @@
|
|||||||
2002-08-25 Pavel Roskin <proski@gnu.org>
|
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.
|
* man2hlp.c (handle_command): Remove quotes from TOPIC.
|
||||||
|
|
||||||
* key.c (get_event): Check gpm_fd before using it in FD_SET. If
|
* 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 const char *c_out; /* Output filename */
|
||||||
static FILE *f_out; /* Output file */
|
static FILE *f_out; /* Output file */
|
||||||
|
|
||||||
static char *Topics = "Topics:";
|
static char *Topics = NULL;
|
||||||
|
|
||||||
static struct node {
|
static struct node {
|
||||||
char *node;
|
char *node;
|
||||||
@ -554,7 +554,10 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
cont_start = ftell (f_out);
|
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;) {
|
for (cnode = &nodes; cnode && cnode->node;) {
|
||||||
char *node = cnode->node;
|
char *node = cnode->node;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user