mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-26 11:13:21 +03:00
startup: always initialize 'margin' and 'editwincols'
This fixes https://savannah.gnu.org/bugs/?49428.
This commit is contained in:
parent
702b09c859
commit
b38cbfe173
@ -2706,11 +2706,13 @@ int main(int argc, char **argv)
|
||||
/* The margin has changed -- schedule a full refresh. */
|
||||
refresh_needed = TRUE;
|
||||
}
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
margin = 0;
|
||||
editwincols = COLS;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (currmenu != MMAIN)
|
||||
display_main_list();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user