RETableViewManager icon indicating copy to clipboard operation
RETableViewManager copied to clipboard

fixed invalid next responder check if not found

Open adrum opened this issue 9 years ago • 1 comments

A bug exists when indexPathForNextResponderInSectionIndex: on RETableViewCell.m if the sections do not match. If not, the value is set to -1. The for loop below automaticall adds 1 to the unsigned -1, which makes it 0. Thus, the for loop condition was met when it shouldn't have been.

By setting it to -2 then subtracting the number of items in the section, the for loop conidition will never be met when the section is not equal.

adrum avatar Aug 13 '15 17:08 adrum

@adrum please make your branch up to date with master.

XBeg9 avatar Apr 25 '16 07:04 XBeg9