mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix display of game titles, oops
This commit is contained in:
parent
1b158940ac
commit
50baf6f8e3
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ void GameButton::Draw(UIContext &dc) {
|
|||
dc.PushScissor(bounds_);
|
||||
const std::string currentTitle = ginfo->GetTitle();
|
||||
if (!currentTitle.empty()) {
|
||||
title_ = ReplaceAll(title_, "\n", " ");
|
||||
title_ = ReplaceAll(currentTitle, "\n", " ");
|
||||
}
|
||||
|
||||
dc.MeasureText(dc.GetFontStyle(), 1.0f, 1.0f, title_, &tw, &th, 0);
|
||||
|
|
Loading…
Add table
Reference in a new issue