mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-25 22:29:42 +03:00
tweaks: rename a function, for more aptness and extra contrast
This commit is contained in:
parent
ac31669ec3
commit
b9f533a69e
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user