From 467e4f2ef864a6a695aa2fcdf717f414188a6215 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 13 Jan 2022 12:26:20 +0100 Subject: test: config: tweak.grapheme-shaping can’t be set when grapheme-clustering has been disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test-config.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test-config.c b/tests/test-config.c index 12ec6c1d..d22e96a8 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -1137,8 +1137,13 @@ test_section_tweak(void) #endif test_boolean(&ctx, &parse_section_tweak, "damage-whole-window", &conf.tweak.damage_whole_window); + +#if defined(FOOT_GRAPHEME_CLUSTERING) test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping", &conf.tweak.grapheme_shaping); +#else + /* TODO: the setting still exists, but is always forced to ‘false’. */ +#endif test_enum( &ctx, &parse_section_tweak, "grapheme-width-method", -- cgit v1.3