You should be commenting on the answer, and let the poster of the answer update his answer as he sees fit.
First of all, SO should be encouraging users to post different answers, howeverno matter how small the differences are. People seeking the answer can then decide for themselves which one to use, based on upvotes as well as their personal preference.
Secondly, if an answer is incorrect, downvote it.
Editing an answer with what you deem to be an improvement is the same as stuffing salad down someone's throat because you think it's healthy. If you politely remind the poster that he could improve it, he can then choose to accept that improvement or not.
The only edits I usually approve are formatting (significant ones, like wrapping code blocks in ... code blocks), significant grammar improvements (e.g. capitalizing will not get my approval, unless it's an essay), and typos in code.