Skip to content
Snippets Groups Projects
Commit ee4ef92c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add defaults for first BBS list

parent fabbad66
No related branches found
No related tags found
No related merge requests found
Pipeline #8089 passed
...@@ -3015,6 +3015,9 @@ edit_web_lists(void) ...@@ -3015,6 +3015,9 @@ edit_web_lists(void)
else if (i & MSK_INS) { else if (i & MSK_INS) {
char tmpn[INI_MAX_VALUE_LEN + 1]; char tmpn[INI_MAX_VALUE_LEN + 1];
char tmpv[INI_MAX_VALUE_LEN + 1]; char tmpv[INI_MAX_VALUE_LEN + 1];
if (count == 0)
strlcpy(tmpn, "SyncTERM BBS List", sizeof(tmpn));
else
tmpn[0] = 0; tmpn[0] = 0;
while (uifc.input(WIN_SAV | WIN_MID, 0, 0, "Web List Name", tmpn, sizeof(tmpn) - 1, K_EDIT) != -1 while (uifc.input(WIN_SAV | WIN_MID, 0, 0, "Web List Name", tmpn, sizeof(tmpn) - 1, K_EDIT) != -1
&& tmpn[0]) { && tmpn[0]) {
...@@ -3023,6 +3026,9 @@ edit_web_lists(void) ...@@ -3023,6 +3026,9 @@ edit_web_lists(void)
continue; continue;
} }
else { else {
if (count == 0)
strlcpy(tmpv, "http://syncterm.bbsdev.net/syncterm.lst", sizeof(tmpn));
else
tmpv[0] = 0; tmpv[0] = 0;
if (uifc.input(WIN_SAV | WIN_MID, 0, 0, "Web List URI", tmpv, sizeof(tmpv) - 1, K_EDIT) != -1 if (uifc.input(WIN_SAV | WIN_MID, 0, 0, "Web List URI", tmpv, sizeof(tmpv) - 1, K_EDIT) != -1
&& tmpv[0]) { && tmpv[0]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment