Fix newlines in stream title causing text in header to go out of bounds (#2755)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -168,7 +168,9 @@ namespace {
|
||||
if (settings.headerGame && !s.game.isEmpty())
|
||||
title += " - " + s.game;
|
||||
if (settings.headerStreamTitle && !s.title.isEmpty())
|
||||
title += " - " + s.title;
|
||||
{
|
||||
title += " - " + s.title.simplified();
|
||||
}
|
||||
|
||||
return title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user