build: do not allow to compile f0rmz and unl0kr without graphical backends

This commit is contained in:
Vladimir Stoiakin 2025-09-27 23:23:41 +03:00
parent 32b26b8e34
commit 742bb6af1c
4 changed files with 15 additions and 21 deletions

View file

@ -165,7 +165,7 @@ static int parsing_handler(void* user_data, const char* section, const char* key
*/
void f0_config_init_opts(f0_config_opts *opts) {
opts->general.backend = bbx_backends_backends[0] == NULL ? BBX_BACKENDS_BACKEND_NONE : 0;
opts->general.backend = 0;
opts->intro.title = "A Form!";
opts->intro.body = "Please complete the following form.";
opts->theme.default_id = BBX_THEMES_THEME_BREEZY_DARK;