Rev 7804 | Rev 7823 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7804 | Rev 7812 | ||
---|---|---|---|
Line 76... | Line 76... | ||
76 | if (count<=visible) return 0; |
76 | if (count<=visible) return 0; |
77 | if (scroll_state == 65535) |
77 | if (scroll_state == 65535) |
78 | { |
78 | { |
79 | if (first == 0) return 0; |
79 | if (first == 0) return 0; |
80 | if (first > wheel_size+1) first -= wheel_size; else first=0; |
80 | if (first > wheel_size+1) first -= wheel_size; else first=0; |
- | 81 | CheckDoesValuesOkey(); |
|
81 | return 1; |
82 | return 1; |
82 | } |
83 | } |
83 | if (scroll_state == 1) |
84 | if (scroll_state == 1) |
84 | { |
85 | { |
85 | if (visible + first == count) return 0; |
86 | if (visible + first == count) return 0; |
86 | if (visible+first+wheel_size+1 > count) first = count - visible; else first+=wheel_size; |
87 | if (visible+first+wheel_size+1 > count) first = count - visible; else first+=wheel_size; |
- | 88 | CheckDoesValuesOkey(); |
|
87 | return 1; |
89 | return 1; |
88 | } |
90 | } |
89 | return 0; |
91 | return 0; |
90 | } |
92 | } |