scummvm/scummvm — comment on commit f691cadfc14ef8a358e9b9409a4f8b58f3348d0e
File: engines/hugo/schedule.cpp line 1543
By wjp:

Yes, this is an off-by-one. But wouldn't just using String::toLower and String::contains be easier than all this C-style string manipulation?