The electors get chosen by the winners in each state election, though.

Yes, it can get complicated if the state legislatures get involved, etc., etc. :-)

Cheers,
Scott.