diff --git a/src/sbbs3/sbbsdefs.h b/src/sbbs3/sbbsdefs.h index 6ff21fcb72e7a266e1752f56e32704e0e42097ea..71515a18e3c598a0018c95dd8bc05492ed87dae7 100644 --- a/src/sbbs3/sbbsdefs.h +++ b/src/sbbs3/sbbsdefs.h @@ -517,6 +517,7 @@ typedef enum { /* Values for xtrn_t.event */ /* String lengths */ #define LEN_ALIAS 25 /* User alias */ #define LEN_NAME 25 /* User name */ +#define LEN_LANG 8 /* Language code */ #define LEN_HANDLE 8 /* User chat handle */ #define LEN_NOTE 30 /* User note */ #define LEN_HOST 60 /* User hostname */ @@ -916,7 +917,7 @@ typedef struct { /* Users information */ char alias[LEN_ALIAS+1], /* Alias */ name[LEN_NAME+1], /* Name - Real */ handle[LEN_HANDLE+1], /* Chat handle */ - lang[4], /* Language code (1-3 chars or blank for default) */ + lang[LEN_LANG+1], /* Language code (blank for default) */ comp[LEN_HOST+1], /* Hostname */ note[LEN_NOTE+1], /* Public notice about this user */ address[LEN_ADDRESS+1], /* Street Address */