Verified Commit a60cbd75 authored by Rahix's avatar Rahix
Browse files

style(config): Fix white-space errors


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent be441873
...@@ -31,17 +31,17 @@ struct config_option { ...@@ -31,17 +31,17 @@ struct config_option {
static struct config_option s_options[_EpicOptionCount] = { static struct config_option s_options[_EpicOptionCount] = {
/* clang-format off */ /* clang-format off */
#define INIT_Boolean(v) { .boolean = (v) } #define INIT_Boolean(v) { .boolean = (v) }
#define INIT_Int(v) { .integer = (v) } #define INIT_Int(v) { .integer = (v) }
#define INIT_Float(v) { .floating_point = (v) } #define INIT_Float(v) { .floating_point = (v) }
#define INIT_String(v) { .string = (v) } #define INIT_String(v) { .string = (v) }
#define INIT_(tp, v) INIT_ ## tp (v) #define INIT_(tp, v) INIT_ ## tp (v)
#define INIT(tp, v) INIT_ (tp, v) #define INIT(tp, v) INIT_ (tp, v)
#define CARD10_SETTING(identifier, spelling, tp, default_value) \ #define CARD10_SETTING(identifier, spelling, tp, default_value) \
[Option ## identifier] = { .name = (spelling), \ [Option ## identifier] = { .name = (spelling), \
.type = OptionType_ ## tp, \ .type = OptionType_ ## tp, \
.value = INIT(tp, (default_value)) }, .value = INIT(tp, (default_value)) },
#include "modules/config.def" #include "modules/config.def"
/* clang-format on */ /* clang-format on */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment