Tested and it looks good.
Committed to 7.x-3.x. Thanks barraponto!
@kking: see http://drupal.org/node/1146430 for giving proper commit attribution ;)
Automatically closed -- issue fixed for 2 weeks with no activity.
Issue #1273594 by barraponto: Fixed title_suffix() and title_prefix()...
Drupal is a registered trademark of Dries Buytaert.