diff --git a/xwords4/linux/gtkmain.c b/xwords4/linux/gtkmain.c index f55298352..733884631 100644 --- a/xwords4/linux/gtkmain.c +++ b/xwords4/linux/gtkmain.c @@ -378,6 +378,8 @@ relay_error_gtk( void* closure, XWREASON relayErr ) "relay says another device deleted game.", GTK_BUTTONS_OK, 1000 ); break; + case XWRELAY_ERROR_DEADGAME: + break; default: assert(0); break; diff --git a/xwords4/linux/linuxutl.c b/xwords4/linux/linuxutl.c index 1b4f9e51c..65db504ec 100644 --- a/xwords4/linux/linuxutl.c +++ b/xwords4/linux/linuxutl.c @@ -475,6 +475,16 @@ linux_getErrString( UtilErrID id, XP_Bool* silent ) message = "You tried to supply more players than the host expected."; break; + case ERR_RELAY_BASE + XWRELAY_ERROR_DELETED: + message = "Game deleted ."; + break; + case ERR_RELAY_BASE + XWRELAY_ERROR_NORECONN: + message = "Cannot reconnect."; + break; + case ERR_RELAY_BASE + XWRELAY_ERROR_DEADGAME: + message = "Game is listed as dead on relay."; + break; + default: XP_LOGF( "no code for error: %d", id ); message = "";