diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-12-11 20:59:21 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-12-11 20:59:21 +0000 |
commit | feb95100cee0adaa7a90ea9aaa93be32a90095e4 (patch) | |
tree | 1470a2d0dd070134291b528cd2a3fd92be292464 /src/fe-text/textbuffer-view.h | |
parent | f9f031826fb056b7fd9203e424a9dfb7ab095beb (diff) | |
download | irssi-feb95100cee0adaa7a90ea9aaa93be32a90095e4.zip |
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
Diffstat (limited to 'src/fe-text/textbuffer-view.h')
-rw-r--r-- | src/fe-text/textbuffer-view.h | 1 |
1 files changed, 0 insertions, 1 deletions
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' */ |