From feb95100cee0adaa7a90ea9aaa93be32a90095e4 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Thu, 11 Dec 2008 20:59:21 +0000 Subject: 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 --- src/fe-text/textbuffer-view.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/fe-text/textbuffer-view.h') diff --git a/src/fe-text/textbuffer-view.h b/src/fe-text/textbuffer-view.h index 46da808e..ba0b5af5 100644 --- a/src/fe-text/textbuffer-view.h +++ b/src/fe-text/textbuffer-view.h @@ -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' */ -- cgit v1.2.3