Chris,
From the photo, to me it looks like the rigging tension just needs adjusting. Looks like the starboard upper shroud needs to be tightened a few turns. But it's really hard to know from that photo! Normally I would check for bends by laying at the bottom of the mast and looking up the aft face, sighting along the mainsail slot and wanting to see a nice straight line. Like cisco says, best bet though is to get a rigger to look at it. Shouldn't cost much, especially compared to the cost of having to replace the mast.

If the mast is genuinely bent, DO NOT attempt to sort it out yourself! You will need specialist work in that case.