What does magnanimous mean?

You are correct!

From our dictionary:

mag•nan•i•mous

Pronunciation: (mag-nan'u-mus), [key]
adj.
1. generous in forgiving an insult or injury; free from petty resentfulness or vindictiveness: to be magnanimous toward one's enemies.
2. high-minded; noble: a just and magnanimous ruler.
3. proceeding from or revealing generosity or nobility of mind, character, etc.: a magnanimous gesture of forgiveness.