vim-patch:9.0.1293: the set_num_option() is too long

Problem:    The set_num_option() is too long.
Solution:   Move code to separate functions. (Yegappan Lakshmanan,
            closes vim/vim#11954)

0caaf1e465
This commit is contained in:
Lewis Russell
2023-04-21 17:45:16 +01:00
parent 558e4191f0
commit df4013cfc7
2 changed files with 346 additions and 203 deletions

View File

@@ -6098,7 +6098,7 @@ static void frame_setwidth(frame_T *curfrp, int width)
}
// Check 'winminheight' for a valid value and reduce it if needed.
void win_setminheight(void)
void did_set_winminheight(void)
{
bool first = true;
@@ -6118,7 +6118,7 @@ void win_setminheight(void)
}
// Check 'winminwidth' for a valid value and reduce it if needed.
void win_setminwidth(void)
void did_set_winminwidth(void)
{
bool first = true;