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 // current configuration
config_t config = { config_t config = {
NULL, .checkInterval = WMAIL_CHECK_INTERVAL,
NULL, // use $MAIL environment-variable .fps = WMAIL_FPS,
NULL, .tickerMode = TICKER_ADDRESS
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
WMAIL_CHECK_INTERVAL,
WMAIL_FPS,
false,
false,
TICKER_ADDRESS,
NULL,
NULL,
false,
NULL,
0,
0
}; };
// enumeration names for ticker mode // enumeration names for ticker mode