patch 8.2.4943: changing 'switchbuf' may have no effect
Problem: Changing 'switchbuf' may have no effect.
Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar,
closes #10406)
diff --git a/src/optionstr.c b/src/optionstr.c
index 26dd551..73a5770 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -125,6 +125,7 @@
#if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
(void)opt_strings_flags(p_tbis, p_tbis_values, &tbis_flags, FALSE);
#endif
+ (void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE);
}
#if defined(FEAT_EVAL)