jcs
/subtext
/amendments
/126
db: Fix IDs for views
jcs made amendment 126 over 2 years ago
--- db.h Tue Jun 7 21:19:50 2022
+++ db.h Tue Jun 7 22:07:07 2022
@@ -39,6 +39,8 @@
#define DB_TEXT_MENU_ID 1
#define DB_TEXT_SHORTMENU_ID 2
#define DB_TEXT_ISSUE_ID 3
+#define DB_TEXT_SIGNUP_ID 4
+#define DB_TEXT_PAGE_SYSOP_ID 5
#define DB_USERNAME_LENGTH 16
#define DB_BOARD_NAME_LENGTH 32
--- session.c Tue Jun 7 21:39:06 2022
+++ session.c Tue Jun 7 22:09:22 2022
@@ -1111,7 +1111,7 @@ session_page_sysop(struct session *s)
session_output_template(s, "{{B}}Page Sysop{{/B}} "
"(^C to cancel)\r\n"
"{{B}}-------------------------{{/B}}\r\n");
- session_output_view(s, VIEWS_SUBMENU_PAGE_SYSOP_ID);
+ session_output_view(s, DB_TEXT_PAGE_SYSOP_ID);
session_flush(s);
session_output_template(s, "{{B}}Message:{{/B}} ");
--- signup.c Tue Jun 7 14:16:47 2022
+++ signup.c Tue Jun 7 22:08:29 2022
@@ -37,7 +37,7 @@ signup(struct session *s)
session_output_template(s, "{{B}}Create Account{{/B}} "
"(^C to cancel)\r\n"
"{{B}}----------------------------{{/B}}\r\n");
- session_output_view(s, VIEWS_SUBMENU_SIGNUP_ID);
+ session_output_view(s, DB_TEXT_SIGNUP_ID);
session_flush(s);
for (;;) {