forked from aniani/vim
patch 9.0.1330: handling new value of an option has a long "else if" chain
Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
This commit is contained in:
committed by
Bram Moolenaar
parent
997b8a015c
commit
af93691b53
@@ -4366,7 +4366,7 @@ get_list_range(char_u **str, int *num1, int *num2)
|
||||
* Returns NULL if value is OK, error message otherwise.
|
||||
*/
|
||||
char *
|
||||
check_cedit(void)
|
||||
did_set_cedit(optset_T *args UNUSED)
|
||||
{
|
||||
int n;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user