Hi, I was just looking to Allegro source code and foundsome strange situation. Or it's also possible that I just do not understand the code:
It should find first occurrence of code point starting at pos start_pos. The thing I do not understand is that the argument start_pos is used only in one place in the function and that's the ASCII only branch. But not in the non ASCII. Is it bug or just there is something I do not see?
I think you're right, this looks like a bug.
I agree, if you've got time please could you create an issue on the github?
https://github.com/liballeg/allegro5/issues
Thanks.
(p.s. looks like it would be easily fixed, too!)