mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Gamelist: Remove line breaks in game titles, seen in fan translation patch.
This commit is contained in:
parent
ab13e37ebe
commit
dd6ae19e7e
@ -209,6 +209,7 @@ void GameButton::Draw(UIContext &dc) {
|
||||
dc.PushScissor(bounds_);
|
||||
if (title_.empty() && !ginfo->title.empty()) {
|
||||
title_ = ReplaceAll(ginfo->title + discNumInfo, "&", "&&");
|
||||
title_ = ReplaceAll(title_, "\n", " ");
|
||||
}
|
||||
|
||||
dc.MeasureText(dc.GetFontStyle(), title_.c_str(), &tw, &th, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user