Replacing the 'z' with 's' is not a typo, though.
I pointed out that that's just the British spelling. Everyone in my group was amazed that I would know such a thing. It was an eye-opening moment... for me.
- You show an American the word "colour" and they go: aha, a typo!
- You show a Brit the word "color" and they go aha, an American!
Most languages with a cognate for the Latin word color do not have this gratuitous Old French "ou" in its orthography. Good riddance.
My coworkers and I call it the 'American API' problem.
That is, "Use American spelling wherever possible in the code" is part of the coding standard.