From 4d19ec621fccb73677ff9dc04f7a235155f6327d Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 9 Nov 2023 16:51:43 -0800 Subject: sdl_fb: s/fullscreen_values/bool_values/ Preparatory commit for a vsync setting sharing these values. --- src/sdl_fb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sdl_fb.c b/src/sdl_fb.c index d59a946..184e679 100644 --- a/src/sdl_fb.c +++ b/src/sdl_fb.c @@ -274,7 +274,7 @@ til_fb_ops_t sdl_fb_ops = { static int sdl_fb_setup(const til_settings_t *settings, til_setting_t **res_setting, const til_setting_desc_t **res_desc, til_setup_t **res_setup) { - const char *fullscreen_values[] = { + const char *bool_values[] = { "off", "on", NULL @@ -288,8 +288,8 @@ static int sdl_fb_setup(const til_settings_t *settings, til_setting_t **res_sett .name = "SDL fullscreen mode", .key = "fullscreen", .regex = NULL, - .preferred = fullscreen_values[0], - .values = fullscreen_values, + .preferred = bool_values[0], + .values = bool_values, .annotations = NULL }, &fullscreen, -- cgit v1.2.3