Commit b38cbfe1 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

startup: always initialize 'margin' and 'editwincols'

This fixes https://savannah.gnu.org/bugs/?49428.
No related merge requests found
Showing with 4 additions and 2 deletions
+4 -2
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment