[2757] in BarnOwl Developers
[PATCH] Punt the ~s at the end of a popless text
daemon@ATHENA.MIT.EDU (David Benjamin)
Sun Nov 7 14:59:42 2010
From: David Benjamin <davidben@MIT.EDU>
To: barnowl-dev@mit.edu
Date: Sun, 7 Nov 2010 14:59:25 -0500
They seem to confuse slightly more people than not, and no one seems to
care enough to justify adding yet another configuration variable.
---
viewwin.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/viewwin.c b/viewwin.c
index 024dac8..a2b2b7e 100644
--- a/viewwin.c
+++ b/viewwin.c
@@ -2,7 +2,6 @@
#include "owl.h"
#define BOTTOM_OFFSET 1
-#define EMPTY_INDICATOR "~"
static void owl_viewwin_redraw_content(owl_window *w, WINDOW *curswin, void *user_data);
static void owl_viewwin_redraw_status(owl_window *w, WINDOW *curswin, void *user_data);
@@ -96,7 +95,6 @@ static void owl_viewwin_redraw_content(owl_window *w, WINDOW *curswin, void *use
owl_fmtext fm1, fm2;
owl_viewwin *v = user_data;
int winlines, wincols;
- int y;
owl_window_get_position(w, &winlines, &wincols, 0, 0);
@@ -111,14 +109,6 @@ static void owl_viewwin_redraw_content(owl_window *w, WINDOW *curswin, void *use
owl_fmtext_curs_waddstr(&fm2, curswin);
- /* Fill remaining lines with tildes. */
- y = v->textlines - v->topline;
- wmove(curswin, y, 0);
- for (; y < winlines; y++) {
- waddstr(curswin, EMPTY_INDICATOR);
- waddstr(curswin, "\n");
- }
-
owl_fmtext_cleanup(&fm1);
owl_fmtext_cleanup(&fm2);
}
--
1.7.3.1.g716de