Judge the edit based on the merits of the edit, not on the original question.
In your example, I would have likely accepted the edit because it, for me, code format improvements no matter how small are a must for acceptance. The only counter-argument for that rule is when the edit changed something else invalidly.
It is important to keep in mine that some edits may improve the question enough that any previous close votes are no longer valid. A rare case I am sure (as it's very difficult to guess the requirements of somebody else), but still worth accepting a valid edit in the event it may prevent the question being closed.
In fact, I seem to remember one suggested edit I seen Today that I approved, but the question was still so poor that I went and voted to close it anyway. (I think it might have be a formatting edit, which as you know, is one of my personal rules or acceptance)