… | … | ||
---|---|---|---|
148 | { | 148 | { |
149 | int ret = 0; | 149 | int ret = 0; |
150 | #ifdef HAVE_SCROLLBARS | 150 | #ifdef HAVE_SCROLLBARS |
151 | int top, bot, len, adj; | 151 | int top, bot, len, adj; |
152 | 152 | ||
153 | if (!scrollbar_visible ()) | 153 | if (!scrollBar.state) |
154 | return 0; | 154 | return 0; |
155 | 155 | ||
156 | if (update) | 156 | if (update) |
157 | { | 157 | { |
158 | top = view_start - top_row; | 158 | top = view_start - top_row; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |