Commit 5423680d authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

in edit_redraw(), make do_refresh a bool instead of an int

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2779 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 7f7c66c2
Showing with 4 additions and 2 deletions
+4 -2
......@@ -342,6 +342,8 @@ CVS code -
statusbar()
- Set statusblank to 25 instead of 26, to match current Pico.
(DLR)
edit_redraw()
- Make do_refresh a bool instead of an int. (DLR)
do_yesno()
- Allow refreshing the screen via Ctrl-L, as Pico does. (DLR)
- Add a missing assert, and use actual_x() to calculate the
......
......@@ -3520,7 +3520,7 @@ void edit_scroll(updown direction, int nlines)
* updated. */
void edit_redraw(const filestruct *old_current, size_t old_pww)
{
int do_refresh = need_vertical_update(0) ||
bool do_refresh = need_vertical_update(0) ||
need_vertical_update(old_pww);
const filestruct *foo;
......
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