- Timestamp:
- Aug 4, 2002, 6:12:28 PM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 8509c08
- Parents:
- aa2f33b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mainwin.c
r1aee7d9 rf2e36b5 41 41 isfull=0; 42 42 mw->curtruncated=0; 43 mw->lasttruncated=0; 43 44 j=owl_view_get_size(v); 44 45 for (i=topmsg; i<j; i++) { … … 72 73 /* if we'll fill the screen print a partial message */ 73 74 if ((y+lines > recwinlines) && (i==owl_global_get_curmsg(&g))) mw->curtruncated=1; 75 if (y+lines > recwinlines) mw->lasttruncated=1; 74 76 if (y+lines > recwinlines-1) { 75 77 isfull=1; … … 130 132 } 131 133 134 int owl_mainwin_is_last_msg_truncated(owl_mainwin *mw) { 135 if (mw->lasttruncated) return(1); 136 return(0); 137 } 138 132 139 int owl_mainwin_get_last_msg(owl_mainwin *mw) { 133 140 /* return the number of the last message displayed. -1 if none */
Note: See TracChangeset
for help on using the changeset viewer.