mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-13 08:01:33 +01:00
Make "Room 1" the default room name.
This commit is contained in:
parent
aae12428da
commit
4025c37604
2 changed files with 5 additions and 1 deletions
|
@ -719,8 +719,9 @@ comms_getInitialAddr( CommsAddrRec* addr )
|
|||
{
|
||||
char* name = RELAY_NAME_DEFAULT;
|
||||
XP_MEMCPY( addr->u.ip_relay.hostName, name, XP_STRLEN(name)+1 );
|
||||
char* room = RELAY_ROOM_DEFAULT;
|
||||
XP_MEMCPY( addr->u.ip_relay.invite, room, XP_STRLEN(room)+1 );
|
||||
}
|
||||
addr->u.ip_relay.invite[0] = '\0';
|
||||
#elif defined PLATFORM_PALM
|
||||
/* default values; default is still IR where there's a choice, at least on
|
||||
Palm... */
|
||||
|
|
|
@ -168,6 +168,9 @@ typedef struct CommonPrefs {
|
|||
#ifndef RELAY_NAME_DEFAULT
|
||||
# define RELAY_NAME_DEFAULT "eehouse.org"
|
||||
#endif
|
||||
#ifndef RELAY_ROOM_DEFAULT
|
||||
# define RELAY_ROOM_DEFAULT "Room 1"
|
||||
#endif
|
||||
|
||||
#ifdef MEM_DEBUG
|
||||
# define XP_MALLOC(pool,nbytes) \
|
||||
|
|
Loading…
Reference in a new issue