Commit 348f2214 authored by deuce's avatar deuce
Browse files

Set the title after calling show_bbslist().

parent 1506ce1c
......@@ -2680,6 +2680,7 @@ BOOL doterm(struct bbslist *bbs)
break;
case 0x1200: /* ALT-E */
{
char title[LIST_NAME_MAX + 12];
struct ciolib_screen *savscrn;
savscrn = savescreen();
setfont(0, FALSE, 1);
......@@ -2687,6 +2688,8 @@ BOOL doterm(struct bbslist *bbs)
setfont(0, FALSE, 3);
setfont(0, FALSE, 4);
show_bbslist(bbs->name, TRUE);
sprintf(title, "SyncTERM - %s\n", bbs->name);
settitle(title);
uifcbail();
setup_mouse_events(&ms);
restorescreen(savscrn);
......@@ -2845,6 +2848,7 @@ BOOL doterm(struct bbslist *bbs)
#endif
{
struct ciolib_screen *savscrn;
char title[LIST_NAME_MAX + 12];
savscrn = savescreen();
setfont(0, FALSE, 1);
......@@ -2852,6 +2856,8 @@ BOOL doterm(struct bbslist *bbs)
setfont(0, FALSE, 3);
setfont(0, FALSE, 4);
show_bbslist(bbs->name, TRUE);
sprintf(title, "SyncTERM - %s\n", bbs->name);
settitle(title);
restorescreen(savscrn);
freescreen(savscrn);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment