xbmc/xbmc — pull request #2589 by leechguy (2013-04-10 21:02:17+00:00)
Title: Fix crash on delete of active profile + other fixes for PR 2577

* Fixes a crash when the active profile is deleted.

Fixes for PR #2577
* Set the auto login profile to the Master user when profile being deleted is the currently configured auto login profile.
* Solved getting the profile name in GUIInfoManager.cpp line 1758 differently avoiding a NULL pointer posibility and making it thread safe.
* Changes the "Most recent" text to "Last used profile".