Merge pull request #231 from pjft/Fix-Font-Pointer

Revert Help Text getting string pointer
This commit is contained in:
Jools Wills 2017-08-29 18:46:02 +01:00 committed by GitHub
commit d814598780

View file

@ -144,8 +144,7 @@ std::vector<HelpPrompt> BasicGameListView::getHelpPrompts()
prompts.push_back(HelpPrompt("x", "random")); prompts.push_back(HelpPrompt("x", "random"));
if(mRoot->getSystem()->isGameSystem()) if(mRoot->getSystem()->isGameSystem())
{ {
const char* prompt = CollectionSystemManager::get()->getEditingCollection().c_str(); prompts.push_back(HelpPrompt("y", "toggle"));
prompts.push_back(HelpPrompt("y", prompt));
} }
return prompts; return prompts;
} }