(show_news, news, empfile[], page_headings[], page_headings_symbols[]):
Change page_headings[] to struct symbol and removed page_headings_symbols[].
This commit is contained in:
parent
426eece569
commit
7b9fdf8b95
7 changed files with 19 additions and 34 deletions
|
@ -105,7 +105,7 @@ news(void)
|
|||
for (page = 1; page <= N_MAX_PAGE; page++) {
|
||||
if (!page_has_news[page])
|
||||
continue;
|
||||
pr("\n\t === %s ===\n", page_headings[page]);
|
||||
pr("\n\t === %s ===\n", page_headings[page].name);
|
||||
snxtitem_rewind(&nstr);
|
||||
while (nxtitem(&nstr, &nws)) {
|
||||
if (rpt[(int)nws.nws_vrb].r_newspage != page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue