change _str[n]cmp ret value. Not the same as the official version but still respect the manual. Code is shorter :D