Changeset cedbe9d
- Timestamp:
- Nov 7, 2010, 7:22:04 PM (13 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 1522e5d
- Parents:
- 13e2096
- git-author:
- David Benjamin <davidben@mit.edu> (11/07/10 14:56:06)
- git-committer:
- David Benjamin <davidben@mit.edu> (11/07/10 19:22:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
viewwin.c
r4c0ac34 rcedbe9d 3 3 4 4 #define BOTTOM_OFFSET 1 5 #define EMPTY_INDICATOR "~"6 5 7 6 static void owl_viewwin_redraw_content(owl_window *w, WINDOW *curswin, void *user_data); … … 97 96 owl_viewwin *v = user_data; 98 97 int winlines, wincols; 99 int y;100 98 101 99 owl_window_get_position(w, &winlines, &wincols, 0, 0); … … 111 109 112 110 owl_fmtext_curs_waddstr(&fm2, curswin); 113 114 /* Fill remaining lines with tildes. */115 y = v->textlines - v->topline;116 wmove(curswin, y, 0);117 for (; y < winlines; y++) {118 waddstr(curswin, EMPTY_INDICATOR);119 waddstr(curswin, "\n");120 }121 111 122 112 owl_fmtext_cleanup(&fm1);
Note: See TracChangeset
for help on using the changeset viewer.