wmail: use designated initializers to define config.

This commit is contained in:
Jeremy Sowden 2019-06-07 09:52:13 +01:00 committed by Carlos R. Mafra
parent 7f0d8d12e2
commit d808c1e21a

View file

@ -96,26 +96,9 @@ static const char *SkipWhiteSpaces( const char *str );
// current configuration
config_t config = {
NULL,
NULL, // use $MAIL environment-variable
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
WMAIL_CHECK_INTERVAL,
WMAIL_FPS,
false,
false,
TICKER_ADDRESS,
NULL,
NULL,
false,
NULL,
0,
0
.checkInterval = WMAIL_CHECK_INTERVAL,
.fps = WMAIL_FPS,
.tickerMode = TICKER_ADDRESS
};
// enumeration names for ticker mode