wmail: use designated initializers to define config.
This commit is contained in:
parent
7f0d8d12e2
commit
d808c1e21a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue