cda474d olpc_xo175: fix sindex use

Authored and Committed by lkundrak 3 years ago
    olpc_xo175: fix sindex use
    
    Use of sindex to find substrings is incorrect and that it used to work was
    mere dumb luck. It actually returns -1 (that is, true) if there's no match,
    otherwise the substring's offset (that could be zero, which is false).
    
        
file modified
+4 -4