tweaks: rename a function, for more aptness and extra contrast

This commit is contained in:
Benno Schulenberg 2018-05-25 20:09:24 +02:00
parent ac31669ec3
commit b9f533a69e
3 changed files with 4 additions and 4 deletions

View File

@ -1543,7 +1543,7 @@ int get_keycode(const char *keyname, const int standard)
#ifdef ENABLE_LINENUMBERS
/* Ensure that the margin can accomodate the buffer's highest line number. */
void check_margin(void)
void confirm_margin(void)
{
int needed_margin = digits(openfile->filebot->lineno) + 1;
@ -2667,7 +2667,7 @@ int main(int argc, char **argv)
while (TRUE) {
#ifdef ENABLE_LINENUMBERS
check_margin();
confirm_margin();
#endif
if (currmenu != MMAIN)
display_main_list();

View File

@ -443,7 +443,7 @@ void disable_flow_control(void);
void enable_flow_control(void);
void terminal_init(void);
#ifdef ENABLE_LINENUMBERS
void check_margin(void);
void confirm_margin(void);
#endif
void unbound_key(int code);
bool okay_for_view(const sc *shortcut);

View File

@ -3338,7 +3338,7 @@ void do_linter(void)
titlebar(NULL);
adjust_viewport(CENTERING);
#ifdef ENABLE_LINENUMBERS
check_margin();
confirm_margin();
#endif
edit_refresh();
statusbar(curlint->msg);