sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 76 forks source link

Find all should actually find all #20

Closed RealOrangeOne closed 6 years ago

RealOrangeOne commented 6 years ago

find_all originally only returned 1 element, the first element it found. Because it was using the wrong callback, which terminated iteration after the first match was found.

Tested on local project, works great!

pravic commented 6 years ago

Yeah, you are right. Shame on copy-paste :)