From 28de668173b0c142d4d227eddbc15d7e25b3efbe Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Mar 2020 00:42:48 +0100 Subject: options: more pushing code around Try to remove m_config implementation details from m_config_frontend. Not sure if I like it. Seems to be ~100 lines of awkward code more, and not much is gained from it. Also it took way too long to do it, and there might be bugs. --- options/m_config_frontend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options/m_config_frontend.h') diff --git a/options/m_config_frontend.h b/options/m_config_frontend.h index 82d2ded2d6..19fbcadf25 100644 --- a/options/m_config_frontend.h +++ b/options/m_config_frontend.h @@ -50,7 +50,7 @@ struct m_config_option { bool is_set_from_config : 1; // Set by a config file bool is_set_locally : 1; // Has a backup entry bool warning_was_printed : 1; - int16_t group_index; // Index into m_config.groups + int32_t opt_id; // For some m_config APIs const char *name; // Full name (ie option-subopt) const struct m_option *opt; // Option description void *data; // Raw value of the option -- cgit v1.2.3