Re: [AD] Manipulating 'emulate_three' flag |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> There's no need for such code, because the config functions
> already provide a generic way for code to override any
> config variable.
Does the mechanism automatically find the right section ?
> static char data[] = "emulate_three = 0\n";
> override_config_data(data, sizeof(data));
emulate_three is in the [mouse] section.
Isn't the following line needed to make it work ?
static char data[] = "[mouse]\nemulate_three = 0\n";
--
Eric Botcazou
ebotcazou@xxxxxxxxxx