mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
Remove ypos field of TEXT_BUFFER_VIEW_REC, it is used to compute the row
position where to draw a new line and if the view is at the bottom of the textbuffer, but the same information can be computed more easily by other means. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4964 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f9f031826f
commit
feb95100ce
3 changed files with 10 additions and 35 deletions
|
|
@ -58,7 +58,6 @@ struct _TEXT_BUFFER_VIEW_REC {
|
|||
unsigned int utf8:1; /* use UTF8 in this view */
|
||||
|
||||
TEXT_BUFFER_CACHE_REC *cache;
|
||||
int ypos; /* cursor position - visible area is 0..height-1 */
|
||||
|
||||
LINE_REC *startline; /* line at the top of the screen */
|
||||
int subline; /* number of "real lines" to skip from `startline' */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue