Commit 4d105f7f authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Change the max BBS name length from 40 to 30.

40 was causing a lot of cosmetic issues in sbbslist.js (for 80col terminals).
This is a compromise (not reducing to the old limit of 25 chars at least). :-)
parent fe1bfbb2
...@@ -13,7 +13,7 @@ var sort_property = 'name'; ...@@ -13,7 +13,7 @@ var sort_property = 'name';
// These max lengths are derived from the bbs_t structure definition in xtrn/sbl/sbldefs.h: // These max lengths are derived from the bbs_t structure definition in xtrn/sbl/sbldefs.h:
const max_len = { const max_len = {
name: 40, /* Synchronet allows 40, I think this restricted by 25-char QWK msg subjs in sbldefs.h */ name: 30, /* Synchronet allows 40, I think this restricted by 25-char QWK msg subjs in sbldefs.h */
phone_number: 25, /* only the first 12 chars are backwards compatible with SBL v3 */ phone_number: 25, /* only the first 12 chars are backwards compatible with SBL v3 */
location: 30, location: 30,
sysop_name: 25, sysop_name: 25,
......
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