Piotr Caban : libwine: Add helper function to compare character weights.