jcs
/subtext
/amendments
/131
main: Sync menu options
jcs made amendment 131 over 2 years ago
--- main.c Tue Jun 7 13:13:54 2022
+++ main.c Tue Jun 7 22:30:01 2022
@@ -97,7 +97,6 @@ main(void)
if (db->config.telnet_port)
telnet_init();
-db->config.modem_port = 0;
if (db->config.modem_port)
serial_init();
@@ -288,14 +287,20 @@ handle_menu(long menu_id)
break;
case VIEWS_SUBMENU_ID:
switch (LoWord(menu_id)) {
+ case VIEWS_SUBMENU_ISSUE_ID:
+ view_editor_show(DB_TEXT_ISSUE_ID, "Edit: Pre-login view");
+ break;
case VIEWS_SUBMENU_MAIN_MENU_ID:
view_editor_show(DB_TEXT_MENU_ID, "Edit: Main menu");
break;
case VIEWS_SUBMENU_SHORT_MENU_ID:
view_editor_show(DB_TEXT_SHORTMENU_ID, "Edit: Short menu");
break;
- case VIEWS_SUBMENU_ISSUE_ID:
- view_editor_show(DB_TEXT_ISSUE_ID, "Edit: Pre-login view");
+ case VIEWS_SUBMENU_SIGNUP_ID:
+ view_editor_show(DB_TEXT_SIGNUP_ID, "Edit: Signup view");
+ break;
+ case VIEWS_SUBMENU_PAGE_SYSOP_ID:
+ view_editor_show(DB_TEXT_PAGE_SYSOP_ID, "Edit: Page Sysop view");
break;
}
ret = 1;