Rev 7812 | Rev 7863 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7812 | Rev 7823 | ||
---|---|---|---|
Line 159... | Line 159... | ||
159 | { |
159 | { |
160 | if (visible + first >= count) return 0; |
160 | if (visible + first >= count) return 0; |
161 | first++; |
161 | first++; |
162 | cur_y++; |
162 | cur_y++; |
163 | } |
163 | } |
164 | if (cur_y < first) || (cur_y > first + visible) |
164 | if (cur_y < first) || (cur_y >= first + visible) |
165 | { |
165 | { |
166 | first = cur_y; |
166 | first = cur_y; |
167 | CheckDoesValuesOkey(); |
167 | CheckDoesValuesOkey(); |
168 | } |
168 | } |
169 | return 1; |
169 | return 1; |